-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
96 lines (81 loc) · 3.8 KB
/
header.php
File metadata and controls
96 lines (81 loc) · 3.8 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php acf_form_head(); ?>
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Nu Themes
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="google-site-verification"
content="AdKWo90zpi9hkAtRsRQlBWeFuEjKYyK2IBlhYCezxsQ" />
<title><?php wp_title( '-', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<link href="https://fonts.googleapis.com/css?family=Bitter:400,400i,700" rel="stylesheet">
<link href='//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.css' rel='stylesheet' />
<script src='//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox-gl-js/v0.25.1/mapbox-gl.css' rel='stylesheet' />
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/flexslider.css" type="text/css">
<!-- BORDR APP -->
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/arrayToTable.js"></script>
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/d3.js"></script>
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/nv.d3.min.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css" type="text/css">
<!-- Custom CSS -->
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/nv.d3.css">
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/bordr.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<!-- END BORDR APP -->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="site-header" class="site-header headroom" role="banner">
<div class="container">
<div class="site-branding">
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'div' : 'div'; ?>
<<?php echo $heading_tag; ?> class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="/wp-content/themes/bordr/img/egc_logo_350x200.png">
</a>
</<?php echo $heading_tag; ?>>
<!-- .site-branding --></div>
<div class="navbar navbar-default site-navigation" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<?php
if (is_user_logged_in()) :
wp_nav_menu( array(
'theme_location' => 'primary',
'depth' => 2,
'menu_class' => 'nav navbar-nav',
'container_class' => 'navbar-collapse collapse main-navigation',
'fallback_cb' => 'nuthemes_bootstrap_navwalker::fallback',
'walker' => new nuthemes_bootstrap_navwalker()
) );
else :
wp_nav_menu( array(
'menu' => 'Logged Out',
'depth' => 2,
'menu_class' => 'nav navbar-nav',
'container_class' => 'navbar-collapse collapse main-navigation',
'fallback_cb' => 'nuthemes_bootstrap_navwalker::fallback',
'walker' => new nuthemes_bootstrap_navwalker()
) );
endif;
?>
<!-- .site-navigation --></div>
</div>
<!-- #site-header --></header>
<div id="main" class="site-main">
<div class="container">