-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
46 lines (31 loc) · 1.71 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<title><?php wp_title(); ?></title>
<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="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(isset($class) ? $class : ''); ?>>
<!-- Navigation -->
<div class="afternav"><a href="<?php home_url(); ?>"><img src=" <?php echo get_template_directory_uri (); ?>/img/logo.png" alt="logo"></a></div>
<nav class="navbar navbar-default">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#car-nav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="car-nav">
<?php wp_nav_menu( array('theme_location' => 'top-menu', 'menu_class' => 'nav navbar-nav ', 'depth'=> 3, 'container'=> false, 'walker'=> new Bootstrap_Walker_Nav_Menu)); ?>
<div class="car-logo"><a href="<?php home_url(); ?>"><img src=" <?php echo get_template_directory_uri (); ?>/img/logo.png" alt="logo"></a></div>
</div><!-- /.navbar-collapse -->
</nav>
<div id="main-container">