-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·91 lines (79 loc) · 3.5 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
82
83
84
85
86
87
88
89
90
91
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <main id="main">
*
* @package britstrap
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
<script src="http://localhost:35639/livereload.js"></script>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<?php do_action( 'before' ); ?>
<header id="masthead" class="site-header" role="banner">
<div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'britstrap' ); ?>"><?php _e( 'Skip to content', 'britstrap' ); ?></a></div>
<nav class="top-navigation navbar navbar-default clearfix" role="navigation">
<div class="container">
<?php wp_nav_menu( array(
'theme_location' => 'top',
'menu_class' => 'menu-top-navigation nav navbar-nav',
'menu_id' => 'menu-top-navigation',
// No menu available: no output.
'fallback_cb' => '__return_false'
) ); ?>
<div class="more-government-link text-center"><a href="http://www.gov.bc.ca/">Find more on gov.bc.ca »</a></div>
</div>
</nav>
<div class="site-branding">
<div class="container">
<h1 class="site-title text-center">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php echo get_template_directory_uri(); ?>/images/bc-logo-hor.png" width="214px" height="70px" style="padding-right: 10px;">
<?php bloginfo( 'name' ); ?>
</a>
</h1>
<div class="collapse search-collapse search-ex1-collapse">
<div class="site-services text-center">
<a href="http://www2.gov.bc.ca/en/services_finder/finder.page"><span class="glyphicon glyphicon-cog"></span> Services & Forms</a>
<a href="https://extranet.gov.bc.ca/forms/gov/contact/index.html"><span class="glyphicon glyphicon-envelope"></span> Contact Government</a>
<?php get_search_form(); ?>
</div>
</div>
</div>
</div>
<nav id="site-navigation" class="main-navigation navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="glyphicon glyphicon-th-list"></span>
</button>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".search-ex1-collapse">
<span class="sr-only">Toggle search</span>
<span class="glyphicon glyphicon-search"></span>
</button>
<a class="navbar-brand" href="#"><?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?></a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'menu_class' => 'menu-primary nav navbar-nav',
'menu_id' => 'menu-primary',
'walker' => new britstrap_walker_nav_menu
) ); ?>
</div>
</div>
</nav>
<div class="main-navigation-placeholder"></div>
</header>
<div id="content" class="site-content">