Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 15:28:18 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The header for our theme.
|
|
|
|
*
|
2014-11-04 15:26:23 -05:00
|
|
|
* Displays all of the <head> section and everything up until the "site-content" div.
|
Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 15:28:18 -04:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Fifteen
|
|
|
|
* @since Twenty Fifteen 1.0
|
|
|
|
*/
|
|
|
|
?><!DOCTYPE html>
|
|
|
|
<html <?php language_attributes(); ?> class="no-js">
|
|
|
|
<head>
|
|
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
|
|
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
|
|
|
<!--[if lt IE 9]>
|
2014-11-03 16:47:22 -05:00
|
|
|
<script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js"></script>
|
Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 15:28:18 -04:00
|
|
|
<![endif]-->
|
2014-11-03 13:58:23 -05:00
|
|
|
<script>(function(){document.documentElement.className='js'})();</script>
|
Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 15:28:18 -04:00
|
|
|
<?php wp_head(); ?>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body <?php body_class(); ?>>
|
|
|
|
<div id="page" class="hfeed site">
|
|
|
|
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'twentyfifteen' ); ?></a>
|
|
|
|
|
|
|
|
<div id="sidebar" class="sidebar">
|
|
|
|
<header id="masthead" class="site-header" role="banner">
|
|
|
|
<div class="site-branding">
|
2014-10-28 17:03:22 -04:00
|
|
|
<?php
|
|
|
|
if ( is_front_page() && is_home() ) : ?>
|
|
|
|
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
|
|
|
<?php else : ?>
|
|
|
|
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
|
|
|
<?php endif;
|
|
|
|
|
|
|
|
$description = get_bloginfo( 'description', 'display' );
|
2014-11-19 13:41:22 -05:00
|
|
|
if ( ! empty( $description ) || is_customize_preview() ) : ?>
|
2014-10-28 17:03:22 -04:00
|
|
|
<p class="site-description"><?php echo esc_html( $description ); ?></p>
|
|
|
|
<?php endif;
|
|
|
|
?>
|
Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 15:28:18 -04:00
|
|
|
<button class="secondary-toggle"><?php esc_html_e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
|
2014-10-16 16:52:18 -04:00
|
|
|
</div><!-- .site-branding -->
|
Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 15:28:18 -04:00
|
|
|
</header><!-- .site-header -->
|
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
</div><!-- .sidebar -->
|
|
|
|
|
|
|
|
<div id="content" class="site-content">
|