-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·49 lines (45 loc) · 1.6 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
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="profile" href="https://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div class="container-fluid primary-nav">
<div class="container">
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".koksijde-mobile-menu">
<span class="sr-only"><?php _e('Toggle navigation', 'koksijde'); ?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php get_template_part('navbar', 'brand'); ?>
</div>
<?php koksijde_secondary_navigation_setup(); ?>
<div class="collapse navbar-collapse primary-menu">
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'container' => false,
'menu_class' => 'nav navbar-nav pull-right',
'fallback_cb' => 'koksijde_wp_bootstrap_navwalker::fallback',
'walker' => new koksijde_wp_bootstrap_navwalker()
));
?>
</div> <!-- .primary-menu -->
<?php koksijde_mobile_navigation_setup(); ?>
</nav>
</div><!-- .container -->
</div><!-- .navigation -->