-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
76 lines (55 loc) · 2.08 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package jc
*/
$template = new Template();
?><!DOCTYPE html>
<!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<?php // mobile meta ?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php echo $template->get_favicon_meta(); ?>
<?php
echo $template->get_dynamic_css();
$skrollr_atts = $template->get_header_skrollr_atts();
?>
<?php wp_head(); ?>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54375392-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body <?php body_class(); ?>>
<div class="header-image-wrapper">
<div class="header-image-normal" <?php echo $skrollr_atts['normal']; ?>></div>
</div>
<div class="wrapper">
<header class="site-header" role="banner">
<div class="feature">
<div class="title">
<h1 <?php echo $skrollr_atts['logo']; ?>>
<?php echo esc_attr( get_bloginfo( 'title' ) ) . ' - ' . esc_attr( get_bloginfo( 'description' ) ); ?>
</h1>
</div>
</div>
</header>
<div class="content">
<div class="nav-wrapper">
<?php $template->display_primary_menu(); ?>
</div>