2014-12-10 11:36:38 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The header for our theme.
|
|
|
|
*
|
|
|
|
* Displays all of the <head> section and everything up till <div id="content">
|
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
2016-11-01 15:25:21 +00:00
|
|
|
?>
|
2016-11-14 14:16:24 +00:00
|
|
|
|
2016-11-15 11:09:46 +00:00
|
|
|
<?php $container = get_theme_mod('understrap_container_type'); ?>
|
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
<!DOCTYPE html>
|
2014-12-10 11:36:38 +00:00
|
|
|
<html <?php language_attributes(); ?>>
|
|
|
|
<head>
|
2016-11-01 15:25:21 +00:00
|
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
2016-11-17 08:11:14 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2016-11-01 15:25:21 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-title" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>">
|
|
|
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
|
|
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
|
|
|
<?php wp_head(); ?>
|
2014-12-10 11:36:38 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body <?php body_class(); ?>>
|
2014-12-19 09:04:55 +00:00
|
|
|
|
2016-11-01 16:13:23 +00:00
|
|
|
<div class="hfeed site" id="page">
|
2016-11-01 15:25:21 +00:00
|
|
|
|
2014-12-10 11:36:38 +00:00
|
|
|
<!-- ******************* The Navbar Area ******************* -->
|
2015-03-23 12:39:22 +00:00
|
|
|
<div class="wrapper-fluid wrapper-navbar" id="wrapper-navbar">
|
2014-12-10 11:36:38 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
<a class="skip-link screen-reader-text sr-only" href="#content"><?php _e( 'Skip to content', 'understrap' ); ?></a>
|
2015-08-12 15:21:46 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
<nav class="navbar navbar-dark bg-inverse site-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
|
2016-04-26 12:05:02 +00:00
|
|
|
|
2016-11-15 11:09:46 +00:00
|
|
|
<div class="<?php echo $container; ?>" id="content">
|
2014-12-10 11:36:38 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
<div class="navbar-header">
|
2014-12-10 11:36:38 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
2016-11-04 08:40:40 +00:00
|
|
|
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar" aria-controls="exCollapsingNavbar" aria-expanded="false" aria-label="Toggle navigation"></button>
|
2014-12-19 09:04:55 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
<!-- Your site title as branding in the menu -->
|
|
|
|
<?php if (!has_custom_logo()) { ?>
|
2016-11-01 16:13:23 +00:00
|
|
|
<a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
|
2016-11-01 15:25:21 +00:00
|
|
|
<?php bloginfo( 'name' ); ?>
|
|
|
|
</a>
|
|
|
|
<?php } else { the_custom_logo(); } ?><!-- end custom logo -->
|
2014-12-19 09:04:55 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
</div>
|
2014-12-19 09:04:55 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
<!-- The WordPress Menu goes here -->
|
|
|
|
<?php wp_nav_menu(
|
|
|
|
array(
|
|
|
|
'theme_location' => 'primary',
|
|
|
|
'container_class' => 'collapse navbar-toggleable-xs exCollapsingNavbar',
|
2016-11-17 08:11:14 +00:00
|
|
|
'container_id' => 'exCollapsingNavbar',
|
2016-11-01 15:25:21 +00:00
|
|
|
'menu_class' => 'nav navbar-nav',
|
|
|
|
'fallback_cb' => '',
|
|
|
|
'menu_id' => 'main-menu',
|
|
|
|
'walker' => new wp_bootstrap_navwalker()
|
|
|
|
)
|
|
|
|
); ?>
|
2014-12-19 09:04:55 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
</div> <!-- .container -->
|
2014-12-19 09:04:55 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
</nav><!-- .site-navigation -->
|
2014-12-19 09:04:55 +00:00
|
|
|
|
2016-11-01 15:25:21 +00:00
|
|
|
</div><!-- .wrapper-navbar end -->
|