-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathheader.php
61 lines (57 loc) · 2.65 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie ie6 ie6-7 no-js unsupported" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7 ie6-7 no-js unsupported" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8 no-js" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9 no-js" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 9]><!--><html class="no-js" <?php language_attributes(); ?>><!--<![endif]-->
<!-- the "no-js" class is for Modernizr. -->
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=4">
<title><?php thr_title(); ?></title>
<link rel="shortcut icon" href="/theme/images/favicon.ico">
<link rel="apple-touch-icon" href="/theme/images/apple-touch-icon.png">
<link rel="stylesheet" href="/theme/style.css">
<?php
$view = array(
'pageColor'=>THR('pageColor'),
'textColor'=>THR('textColor')
);
echo template_render('styleColor', $view);
if (THR('debug')) {
echo ' <script src="http://152.2.129.207:8008/target/target-script-min.js#anonymous"></script>';
}
?>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.min.css">
<![if gt IE 7]>
<script src="/theme/js/modernizr.custom.js"></script>
<script src="/theme/js/json2.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script>
var require = { waitSeconds: 200 };
if (!window.console) window.console = {};
if (!window.console.log) window.console.log = function () { };
</script>
<script data-main="/theme/js/main" src="/theme/js/require.min.js"></script>
<![endif]>
<?php wp_head(); ?>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-R9GJ25EYK0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-R9GJ25EYK0');
</script>
<script>
function logMessage(msg) {
console.log('logMessage', msg);
}
function logEvent(category, action, label, value) {
// ga('send', 'event', category, action, label, value);
console.log('logEvent', category, action, label, value);
}
</script>
</head>