-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.php
67 lines (56 loc) · 1.88 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
<?php
/**
* Theme Header
*
* @version 1.0.0
* @package Upvote
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<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">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php wp_head(); ?>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body <?php body_class(); ?>>
<div class="navbar" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo home_url('/'); ?>"><?php bloginfo('name'); ?></a>
</div>
<div class="collapse navbar-collapse">
<?php wp_nav_menu( array (
'theme_location' => 'primary',
'container' => false,
'fallback_cb' => '',
'menu_class' => 'nav navbar-nav',
'walker' => new Bootstrap_Nav_Walker()
) ); ?>
<?php get_template_part( 'templates/nav', is_user_logged_in() ? 'auth' : 'unauth' ); ?>
</div>
</div>
</div> <!-- end nav -->
<!-- <div class="welcome">
<div class="container">
<div class="row">
<h3>What is Advertisers.io?</h3>
<p>
Advertisers is the premier community for people working in marketing and advertising. Everyday you’ll find new discussions about creative, branding and technology.
</p>
</div>
</div>
</div> --><!-- end welcome message -->
<div class="container" id="content">