-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
84 lines (77 loc) · 2.83 KB
/
Copy pathheader.php
File metadata and controls
84 lines (77 loc) · 2.83 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
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package dbstarter-theme
*/
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NQ58QS8D');</script>
<!-- End Google Tag Manager -->
</head>
<body <?php body_class(); ?>>
<?php if (is_active_sidebar('top-bar')) : ?>
<section class="section top-bar has-background-light">
<div class="container">
<div class="columns has-text-centered">
<div class="column">
<div id="topBarWidgetArea" class="widget-area" role="complementary">
<?php dynamic_sidebar('top-bar'); ?>
</div>
</div>
</div>
</div>
</section>
<?php endif; ?>
<div class="navbar-wrapper">
<nav class="navbar">
<div class="navbar-container">
<div class="navbar-brand">
<a class="navbar-logo" href="<?php echo get_site_url(); ?>">
<img src="<?php echo get_template_directory_uri(); ?>/assets/icons/fitz_logo.svg" alt="The Fitzwilliam Logo" />
</a>
<span class="navbar-heading">
<?php echo get_bloginfo('name'); ?>
</span>
<a role="button" class="navbar-burger burger" data-target="primaryNavigation">
<span></span>
<span></span>
<span></span>
</a>
<div id="primaryNavigation" class="navbar-menu" itemscope itemtype="http://www.schema.org/SiteNavigationElement">
<div class="navbar-end">
<?php bulmapress_navigation(); ?>
<li class="navbar-item">
<form role="search" method="get" id="searchform" class="searchform" action="<?php echo get_site_url(); ?>/modules/">
<div class="field is-grouped">
<p class="control is-expanded">
<input class="input" type="text" value="<?php echo get_search_query(); ?>" name="mkeyword" id="s" />
</p>
<p class="control">
<input type="submit" id="searchsubmit" class="button is-black" value="<?php echo esc_attr_x('Search', 'submit button'); ?>" />
</p>
</div>
</form>
</li>
</div>
</div>
</div>
</div>
</nav>
</div>
<div id="page"> <!-- Start of content -->