wp/wp-content/themes/twentythirteen/header.php
changeset 10 372f2766ea20
parent 7 cf61fcea0001
equal deleted inserted replaced
9:177826044cd9 10:372f2766ea20
    21 <head>
    21 <head>
    22 	<meta charset="<?php bloginfo( 'charset' ); ?>">
    22 	<meta charset="<?php bloginfo( 'charset' ); ?>">
    23 	<meta name="viewport" content="width=device-width">
    23 	<meta name="viewport" content="width=device-width">
    24 	<title><?php wp_title( '|', true, 'right' ); ?></title>
    24 	<title><?php wp_title( '|', true, 'right' ); ?></title>
    25 	<link rel="profile" href="http://gmpg.org/xfn/11">
    25 	<link rel="profile" href="http://gmpg.org/xfn/11">
    26 	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    26 	<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
    27 	<!--[if lt IE 9]>
    27 	<!--[if lt IE 9]>
    28 	<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
    28 	<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
    29 	<![endif]-->
    29 	<![endif]-->
    30 	<?php wp_head(); ?>
    30 	<?php wp_head(); ?>
    31 </head>
    31 </head>
    32 
    32 
    33 <body <?php body_class(); ?>>
    33 <body <?php body_class(); ?>>
       
    34 	<?php wp_body_open(); ?>
    34 	<div id="page" class="hfeed site">
    35 	<div id="page" class="hfeed site">
    35 		<header id="masthead" class="site-header" role="banner">
    36 		<header id="masthead" class="site-header" role="banner">
    36 			<a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    37 			<a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    37 				<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
    38 				<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
    38 				<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    39 				<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    48 							'theme_location' => 'primary',
    49 							'theme_location' => 'primary',
    49 							'menu_class'     => 'nav-menu',
    50 							'menu_class'     => 'nav-menu',
    50 							'menu_id'        => 'primary-menu',
    51 							'menu_id'        => 'primary-menu',
    51 						)
    52 						)
    52 					);
    53 					);
    53 ?>
    54 					?>
    54 					<?php get_search_form(); ?>
    55 					<?php get_search_form(); ?>
    55 				</nav><!-- #site-navigation -->
    56 				</nav><!-- #site-navigation -->
    56 			</div><!-- #navbar -->
    57 			</div><!-- #navbar -->
    57 		</header><!-- #masthead -->
    58 		</header><!-- #masthead -->
    58 
    59