-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
113 lines (73 loc) · 3.17 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
/**
* @package foodica
*/
?><!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' ); ?>" />
<link rel="preload" as="font" href="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/fonts/foodica.ttf" type="font/ttf" crossorigin>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
wp_body_open();
?>
<div class="page-wrap">
<header class="site-header">
<nav class="top-navbar" role="navigation">
<div class="inner-wrap">
<div class="header_social">
<?php dynamic_sidebar('header_social'); ?>
</div>
<div id="navbar-top">
<?php if (has_nav_menu( 'secondary' )) {
wp_nav_menu( array(
'menu_class' => 'navbar-wpz dropdown sf-menu',
'theme_location' => 'secondary'
) );
} ?>
</div><!-- #navbar-top -->
</div><!-- ./inner-wrap -->
</nav><!-- .navbar -->
<div class="clear"></div>
<div class="inner-wrap">
<div class="navbar-brand-wpz">
<?php foodica_custom_logo() ?>
<p class="site-description"><?php bloginfo('description') ?></p>
</div><!-- .navbar-brand -->
</div>
<nav class="main-navbar" role="navigation">
<div class="inner-wrap">
<div id="sb-search" class="sb-search">
<?php get_search_form(); ?>
</div>
<div class="navbar-header-main">
<?php if ( has_nav_menu( 'mobile' ) ) {
wp_nav_menu( array(
'container_id' => 'menu-main-slide',
'theme_location' => 'mobile'
) );
} elseif ( has_nav_menu( 'primary' ) ) {
wp_nav_menu( array(
'container_id' => 'menu-main-slide',
'theme_location' => 'primary'
) );
} ?>
</div>
<div id="navbar-main">
<?php if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu( array(
'menu_class' => 'navbar-wpz dropdown sf-menu',
'theme_location' => 'primary'
) );
} ?>
</div><!-- #navbar-main -->
</div><!-- ./inner-wrap -->
</nav><!-- .main-navbar -->
<div class="clear"></div>
</header><!-- .site-header -->
<div class="inner-wrap">