author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:30:03 +0200 | |
changeset 10 | 372f2766ea20 |
parent 7 | cf61fcea0001 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* The Header template for our theme |
|
4 |
* |
|
5 |
* Displays all of the <head> section and everything up till <div id="main"> |
|
6 |
* |
|
7 |
* @package WordPress |
|
8 |
* @subpackage Twenty_Thirteen |
|
9 |
* @since Twenty Thirteen 1.0 |
|
10 |
*/ |
|
11 |
?><!DOCTYPE html> |
|
12 |
<!--[if IE 7]> |
|
13 |
<html class="ie ie7" <?php language_attributes(); ?>> |
|
14 |
<![endif]--> |
|
15 |
<!--[if IE 8]> |
|
16 |
<html class="ie ie8" <?php language_attributes(); ?>> |
|
17 |
<![endif]--> |
|
5 | 18 |
<!--[if !(IE 7) & !(IE 8)]><!--> |
0 | 19 |
<html <?php language_attributes(); ?>> |
20 |
<!--<![endif]--> |
|
21 |
<head> |
|
22 |
<meta charset="<?php bloginfo( 'charset' ); ?>"> |
|
23 |
<meta name="viewport" content="width=device-width"> |
|
24 |
<title><?php wp_title( '|', true, 'right' ); ?></title> |
|
25 |
<link rel="profile" href="http://gmpg.org/xfn/11"> |
|
10 | 26 |
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> |
0 | 27 |
<!--[if lt IE 9]> |
28 |
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script> |
|
29 |
<![endif]--> |
|
30 |
<?php wp_head(); ?> |
|
31 |
</head> |
|
32 |
||
33 |
<body <?php body_class(); ?>> |
|
10 | 34 |
<?php wp_body_open(); ?> |
0 | 35 |
<div id="page" class="hfeed site"> |
36 |
<header id="masthead" class="site-header" role="banner"> |
|
37 |
<a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> |
|
38 |
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> |
|
39 |
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> |
|
40 |
</a> |
|
41 |
||
42 |
<div id="navbar" class="navbar"> |
|
43 |
<nav id="site-navigation" class="navigation main-navigation" role="navigation"> |
|
5 | 44 |
<button class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></button> |
0 | 45 |
<a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a> |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
46 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
47 |
wp_nav_menu( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
48 |
array( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
49 |
'theme_location' => 'primary', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
50 |
'menu_class' => 'nav-menu', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
51 |
'menu_id' => 'primary-menu', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
52 |
) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
53 |
); |
10 | 54 |
?> |
0 | 55 |
<?php get_search_form(); ?> |
56 |
</nav><!-- #site-navigation --> |
|
57 |
</div><!-- #navbar --> |
|
58 |
</header><!-- #masthead --> |
|
59 |
||
60 |
<div id="main" class="site-main"> |