The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The Header for our theme.
|
|
|
|
*
|
|
|
|
* Displays all of the <head> section and everything up till <div id="main">
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Twelve
|
|
|
|
* @since Twenty Twelve 1.0
|
|
|
|
*/
|
|
|
|
?><!DOCTYPE html>
|
|
|
|
<html <?php language_attributes(); ?>>
|
|
|
|
<head>
|
|
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2012-07-18 13:07:15 -04:00
|
|
|
<title><?php wp_title( '|', true, 'right' ); ?></title>
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
|
|
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
|
|
|
|
<![endif]-->
|
|
|
|
<?php wp_head(); ?>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body <?php body_class(); ?>>
|
|
|
|
<div id="page" class="hfeed">
|
|
|
|
<header id="masthead" class="site-header" role="banner">
|
|
|
|
<hgroup>
|
|
|
|
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
|
|
|
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
|
|
|
|
</hgroup>
|
|
|
|
|
|
|
|
<nav class="site-navigation main-navigation" role="navigation">
|
|
|
|
<h3 class="assistive-text"><?php _e( 'Show navigation', 'twentytwelve' ); ?></h3>
|
|
|
|
<div class="skip-link assistive-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a></div>
|
|
|
|
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<?php $header_image = get_header_image();
|
|
|
|
if ( ! empty( $header_image ) ) : ?>
|
|
|
|
<img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
|
|
|
|
<?php endif; ?>
|
|
|
|
</header><!-- #masthead -->
|
|
|
|
|
|
|
|
<div id="main">
|