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-07-10 03:33:38 +00:00
|
|
|
?>
|
|
|
|
<!doctype html>
|
2012-01-07 03:25:13 +00:00
|
|
|
<html <?php language_attributes(); ?>>
|
|
|
|
<head>
|
2017-07-10 03:33:38 +00:00
|
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2018-02-19 10:37:07 +00:00
|
|
|
<link rel="profile" href="https://gmpg.org/xfn/11">
|
2012-01-07 03:25:13 +00:00
|
|
|
|
2017-07-10 03:33:38 +00:00
|
|
|
<?php wp_head(); ?>
|
2012-01-07 03:25:13 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body <?php body_class(); ?>>
|
2019-03-28 14:13:32 +00:00
|
|
|
<?php wp_body_open(); ?>
|
2015-09-16 19:09:09 +00:00
|
|
|
<div id="page" class="site">
|
2018-01-02 22:57:02 +00:00
|
|
|
<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', '_s' ); ?></a>
|
2014-02-10 20:19:41 +00:00
|
|
|
|
2017-06-23 16:41:05 +00:00
|
|
|
<header id="masthead" class="site-header">
|
2013-04-24 06:08:06 +00:00
|
|
|
<div class="site-branding">
|
2015-11-11 21:59:40 +00:00
|
|
|
<?php
|
2017-06-26 22:47:12 +00:00
|
|
|
the_custom_logo();
|
2017-08-01 20:27:46 +00:00
|
|
|
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>
|
2017-08-01 20:27:46 +00:00
|
|
|
<?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>
|
2017-08-01 20:27:46 +00:00
|
|
|
<?php
|
2015-11-11 21:59:40 +00:00
|
|
|
endif;
|
2018-02-27 10:35:30 +00:00
|
|
|
$_s_description = get_bloginfo( 'description', 'display' );
|
|
|
|
if ( $_s_description || is_customize_preview() ) :
|
2017-08-01 20:27:46 +00:00
|
|
|
?>
|
2020-04-05 20:49:27 +00:00
|
|
|
<p class="site-description"><?php echo $_s_description; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p>
|
2017-08-01 20:27:46 +00:00
|
|
|
<?php endif; ?>
|
2014-11-03 04:40:09 +00:00
|
|
|
</div><!-- .site-branding -->
|
2012-01-07 03:25:13 +00:00
|
|
|
|
2017-06-23 16:41:05 +00:00
|
|
|
<nav id="site-navigation" class="main-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>
|
2017-04-02 22:38:36 +00:00
|
|
|
<?php
|
2020-04-05 20:49:27 +00:00
|
|
|
wp_nav_menu(
|
|
|
|
array(
|
|
|
|
'theme_location' => 'menu-1',
|
|
|
|
'menu_id' => 'primary-menu',
|
|
|
|
)
|
|
|
|
);
|
2017-04-02 22:38:36 +00:00
|
|
|
?>
|
2013-03-08 05:57:36 +00:00
|
|
|
</nav><!-- #site-navigation -->
|
2013-03-05 00:41:38 +00:00
|
|
|
</header><!-- #masthead -->
|