-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·75 lines (54 loc) · 3.03 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
/**
* @package WordPress
* @subpackage HTML5-Reset-WordPress-Theme
* @since HTML5 Reset 2.0
*/
?><!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie ie6 ie-lt10 ie-lt9 ie-lt8 ie-lt7 no-js" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7 ie-lt10 ie-lt9 ie-lt8 no-js" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8 ie-lt10 ie-lt9 no-js" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9 ie-lt10 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 id="<?php echo of_get_option('meta_headid'); ?>" data-template-set="html5-reset-wordpress-theme">
<meta charset="<?php bloginfo('charset'); ?>">
<!-- Always force latest IE rendering engine (even in intranet) -->
<!--[if IE ]>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<![endif]-->
<?php
if (is_search())
echo '<meta name="robots" content="noindex, nofollow" />';
?>
<title><?php wp_title( '|', true, 'right' ); ?></title>
<meta name="title" content="<?php wp_title( '|', true, 'right' ); ?>">
<!--Google will often use this as its description of your page/site. Make it good.-->
<!-- <meta name="description" content="<?php bloginfo('description'); ?>" /> -->
<?php
if (true == of_get_option('meta_author'))
echo '<meta name="author" content="' . of_get_option("meta_author") . '" />';
if (true == of_get_option('meta_google'))
echo '<meta name="google-site-verification" content="' . of_get_option("meta_google") . '" />';
?>
<meta name="Copyright" content="Copyright © <?php bloginfo('name'); ?> <?php echo date('Y'); ?>. All Rights Reserved.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- concatenate and minify for production -->
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" />
<!-- Lea Verou's Prefix Free, lets you use only un-prefixed properties in yuor CSS files -->
<script src="<?php echo get_template_directory_uri(); ?>/_/js/prefixfree.min.js"></script>
<!-- This is an un-minified, complete version of Modernizr. Before you move to production, you should generate a custom build that only has the detects you need. -->
<script src="<?php echo get_template_directory_uri(); ?>/_/js/modernizr-2.8.0.dev.js"></script>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div class="wrapper">
<header class="site-header" role="banner">
<h1 class="site-name"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<div class="description"><?php bloginfo( 'description' ); ?></div>
<nav class="site-nav" role="navigation">
<?php wp_nav_menu( array('theme_location' => 'primary') ); ?>
</nav>
</header>