2012-01-07 03:25:13 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2016-09-27 06:21:35 +00:00
|
|
|
* The header for our theme
|
2012-01-07 03:25:13 +00:00
|
|
|
*
|
2015-07-01 15:21:44 +00:00
|
|
|
* This is the template that displays all of the <head> section and everything up until <div id="content">
|
|
|
|
*
|
|
|
|
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
2012-01-07 03:25:13 +00:00
|
|
|
*
|
|
|
|
* @package _s
|
|
|
|
*/
|
2015-05-27 17:49:01 +00:00
|
|
|
|
2017-03-15 19:15:18 +00:00
|
|
|
?><!doctype html>
|
2012-01-07 03:25:13 +00:00
|
|
|
<html <?php language_attributes(); ?>>
|
|
|
|
<head>
|
2013-06-05 11:08:55 +00:00
|
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
2013-09-03 00:33:32 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2013-06-05 11:08:55 +00:00
|
|
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
2012-01-07 03:25:13 +00:00
|
|
|
|
|
|
|
<?php wp_head(); ?>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body <?php body_class(); ?>>
|
2015-09-16 19:09:09 +00:00
|
|
|
<div id="page" class="site">
|
2015-04-29 01:58:07 +00:00
|
|
|
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', '_s' ); ?></a>
|
2014-02-10 20:19:41 +00:00
|
|
|
|
2013-04-24 06:08:06 +00:00
|
|
|
<header id="masthead" class="site-header" role="banner">
|
|
|
|
<div class="site-branding">
|
2015-11-11 21:59:40 +00:00
|
|
|
<?php
|
|
|
|
if ( is_front_page() && is_home() ) : ?>
|
2015-06-28 19:06:02 +00:00
|
|
|
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
|
|
|
<?php else : ?>
|
2015-07-03 21:04:38 +00:00
|
|
|
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
2015-11-11 21:59:40 +00:00
|
|
|
<?php
|
|
|
|
endif;
|
2015-09-21 21:59:28 +00:00
|
|
|
|
|
|
|
$description = get_bloginfo( 'description', 'display' );
|
|
|
|
if ( $description || is_customize_preview() ) : ?>
|
2015-11-11 14:34:03 +00:00
|
|
|
<p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>
|
2015-11-11 21:59:40 +00:00
|
|
|
<?php
|
|
|
|
endif; ?>
|
2014-11-03 04:40:09 +00:00
|
|
|
</div><!-- .site-branding -->
|
2012-01-07 03:25:13 +00:00
|
|
|
|
2013-07-11 20:17:12 +00:00
|
|
|
<nav id="site-navigation" class="main-navigation" role="navigation">
|
2015-04-29 01:58:07 +00:00
|
|
|
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Primary Menu', '_s' ); ?></button>
|
2016-09-16 01:06:11 +00:00
|
|
|
<?php wp_nav_menu( array( 'theme_location' => 'menu-1', 'menu_id' => 'primary-menu' ) ); ?>
|
2013-03-08 05:57:36 +00:00
|
|
|
</nav><!-- #site-navigation -->
|
2013-03-05 00:41:38 +00:00
|
|
|
</header><!-- #masthead -->
|
2012-01-07 03:25:13 +00:00
|
|
|
|
2013-07-30 19:12:45 +00:00
|
|
|
<div id="content" class="site-content">
|