-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
89 lines (76 loc) · 2.31 KB
/
header.php
File metadata and controls
89 lines (76 loc) · 2.31 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
<?php wp_title( '|', true, 'right' ) ?>
<?php bloginfo( 'tagline' ); ?> -
<?php bloginfo( 'description' ); ?>
</title>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="www" <?php body_class(); ?>>
<header id="header" class="ww">
<div class="cc">
<hgroup id="logo" class="header-sep">
<ul class="c">
<?php if ( has_nav_menu( 'offcanvas_left' ) ): ?>
<li class="nav-mobile-toggle">
<a href="#"><span data-icon="menu"></span></a>
</li>
<?php endif; ?>
<li class="number">
<a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'description' ); ?></a>
</li>
<li class="name">
<a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'tagline' ); ?></a>
</li>
</ul>
</hgroup>
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'menu' => 'Primary',
'container' => 'nav',
'container_class' => 'header-sep',
'container_id' => 'nav',
'menu_class' => 'c',
'menu_id' => 'nav-c',
'fallback_cb' => false,
'depth' => 2,
));
?>
</div>
<form id="nav-search" method="get" role="search"
action="<?php echo esc_url( home_url( '/' ) ); ?>">
<input id="nav-search-input"
name="s" value="<?php echo get_search_query(); ?>"
placeholder="Search" />
</form>
<?php
wp_nav_menu(array(
'theme_location' => 'offcanvas_left',
'menu' => 'Mobile',
'container' => 'nav',
'container_class' => 'reset-offcanvas-2',
'container_id' => 'nav-offcanvas-left',
'menu_class' => 'c',
'menu_id' => '',
'fallback_cb' => false,
'depth' => 1,
));
wp_nav_menu(array(
'theme_location' => 'offcanvas_right',
'menu' => 'Offcanvas Right',
'container' => 'nav',
'container_class' => 'reset-offcanvas-2',
'container_id' => 'nav-offcanvas-right',
'menu_class' => 'c',
'menu_id' => '',
'fallback_cb' => false,
'depth' => 1,
));
?>
</header>