-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
81 lines (74 loc) · 3.08 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
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
?><!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' ); ?>">
<meta name="viewport" content="width=device-width">
<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 rel="shortcut icon" type="image/x-icon" href="/wp-content/themes/africahacktrip/images/favicon.ico">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!--[if lt IE 9]>
<script src="/wp-content/themes/africahacktrip/js/html5shiv-printshiv.js"></script>
<script src="/wp-content/themes/africahacktrip/js/html5shiv.js"></script>
<![endif]-->
<link rel="stylesheet" href="/wp-content/themes/africahacktrip/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="/wp-content/themes/africahacktrip/leaflet.ie.css" />
<![endif]-->
<script src="/wp-content/themes/africahacktrip/js/bootstrap.min.js"></script>
<script src="/wp-content/themes/africahacktrip/js/leaflet-src.js"></script>
<script src="/wp-content/themes/africahacktrip/js/leaflet.label.js"></script>
<script src="/wp-content/themes/africahacktrip/js/map.js"></script>
<script type="text/javascript">
$(function() {
window.SMALL_SCREEN = $(document).innerWidth() < 785;
Hackmap.initializeMap();
if(window.mapCity && window.mapCity != "") {
Hackmap.moveToCountry(window.mapCity);
}
if(window.mapMarkers && window.mapMarkers != "") {
Hackmap.addMarkers(window.mapMarkers);
}
});
</script>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed">
<header class="navbar navbar-inverse navbar-fixed-top" role="banner">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".aht-navbar">
<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 esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">AfricaHackTrip</a>
</div>
<nav class="collapse navbar-collapse aht-navbar" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'menu_class' => 'nav navbar-nav pull-right' ) ); ?>
</nav>
</div>
</header>
<div id="bigfatmap"></div>
<div id="main" class="site-main container content">