This repository has been archived by the owner on Mar 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathheader.php
48 lines (45 loc) · 1.83 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php flat_hook_html_before(); ?>
<html <?php language_attributes(); ?>>
<head>
<?php flat_hook_head_top(); ?>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
<?php flat_hook_head_bottom(); ?>
</head>
<body <?php body_class(); ?> itemscope itemtype="http://schema.org/WebPage">
<?php flat_hook_body_top(); ?>
<div id="page">
<div class="container">
<div class="row row-offcanvas row-offcanvas-left">
<div id="secondary" class="col-lg-3">
<?php flat_hook_header_before(); ?>
<header id="masthead" class="site-header" role="banner">
<?php flat_hook_header_top(); ?>
<div class="hgroup">
<?php flat_logo(); ?>
</div>
<button type="button" class="btn btn-link hidden-lg toggle-sidebar" data-toggle="offcanvas" aria-label="Sidebar"><?php _e( '<i class="fa fa-gear"></i>', 'flat' ); ?></button>
<button type="button" class="btn btn-link hidden-lg toggle-navigation" aria-label="Navigation Menu"><?php _e( '<i class="fa fa-bars"></i>', 'flat' ); ?></button>
<nav id="site-navigation" class="navigation main-navigation" role="navigation">
<?php wp_nav_menu(
array(
'theme_location' => 'primary',
'menu_class' => 'nav-menu',
'container' => false,
)
); ?>
</nav>
<?php flat_hook_header_bottom(); ?>
</header>
<?php flat_hook_header_after(); ?>
<div class="sidebar-offcanvas">
<?php get_sidebar(); ?>
</div>
</div>
<?php flat_hook_content_before(); ?>
<div id="primary" class="content-area col-lg-9" itemprop="mainContentOfPage">
<?php flat_hook_content_top(); ?>