forked from iamamused/wp-theme-html5-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
87 lines (58 loc) · 3.2 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
76
77
78
79
80
81
82
83
84
85
86
87
<!doctype html>
<!--
Theme: HTML5 Bolierplate WordPress Theme
Original Author: Jeffrey Sambells
URL: http://github.com/iamamused/wp-theme-html5-boilerplate
Like this theme? Want to "borrow" aspects of it? No Problem!
This theme is based on the http://html5boilerplate.com project and can
be found in my github repos over at http://github.com/iamamused
I'd kindly ask that if you're going to "borrow" it, please change up
the CSS and design so it's at least not identical to my site.
Thanks,
Jeffrey
-->
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?> class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<meta name="description" content="<?php bloginfo('tagline'); ?>">
<meta name="author" content="">
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.png">
<link rel="apple-touch-icon" href="<?php bloginfo('template_url'); ?>/apple-touch-icon.png">
<!-- CSS : implied media="all" -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>?v=1">
<!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
<script src="<?php bloginfo('template_url'); ?>/js/modernizr-1.5.min.js"></script>
<!-- Pingback url -->
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!-- wp_head() content added by plugins etc. -->
<?php wp_head(); ?>
<!-- Thanks Advent-Calendar -->
<link rel="stylesheet" href="http://f.fontdeck.com/s/css/D8Fz3XWt+VC0VDejQHe7Mks5Qzc/jeffreysambells.com/3438.css" type="text/css" />
</head>
<body <?php body_class(); ?>>
<div id="container">
<header id="header">
<a href="/"><img id="bookmark" src="<?php echo get_option('bookmark_image_url')?>" alt="<?php bloginfo('name'); ?> Bookmark"></a>
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<nav>
<?php wp_nav_menu( array(
'theme_location' => 'menu-1',
'sort_column' => 'menu_order',
'container_class' => 'menu-header',
) ); ?>
</nav>
</header>
<div id="main">