-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·74 lines (69 loc) · 2.17 KB
/
header.php
File metadata and controls
executable file
·74 lines (69 loc) · 2.17 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
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Material Design
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<?php
$primary = array(
'theme_location' => 'primary',
'menu' => '',
'container' => false,
'container_class' => false,
'container_id' => false,
'menu_class' => 'right hide-on-med-and-down',
'menu_id' => false,
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul id="%1$s" class="%2$s"><li></li>%3$s</ul>',
'depth' => 0,
'walker' => ''
);
$primary_mobile = array(
'theme_location' => 'primary',
'menu' => '',
'container' => false,
'container_class' => false,
'container_id' => false,
'menu_class' => 'side-nav',
'menu_id' => 'mobile-demo',
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'depth' => 0,
'walker' => ''
);
?>
<header id="masthead" class="site-header" role="banner">
<nav class="primary">
<div class="container">
<div class="nav-wrapper">
<a class="brand-logo header-color" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
<a href="#" data-activates="mobile-demo" class="button-collapse"><i class="mdi-navigation-menu"></i></a>
<?php wp_nav_menu( $primary ); ?>
<?php wp_nav_menu( $primary_mobile ); ?>
</div>
</div>
</nav>
</header><!-- #masthead -->
<br>
<div id="content" class="site-content">