forked from StreetSupport/streetsupport-blog-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
151 lines (136 loc) · 8.41 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?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 ssnblog
*/
?><!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">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<!-- 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-PVPXCXT');</script>
<!-- End Google Tag Manager -->
<script>
(function(d) {
var config = {
kitId: 'efe1dsh',
scriptTimeout: 3000,
async: true
},
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
})(document);
</script>
<script>
WebFontConfig = {
custom: ['museo_sans_rounded500']
}
var loadFonts = function (d) {
var wf = d.createElement('script')
var s = d.scripts[0]
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js'
s.parentNode.insertBefore(wf, s)
}
loadFonts(document)
</script>
<?php wp_head(); ?>
</head>
<body style="touch-action: manipulation;" <?php body_class(); ?>>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PVPXCXT"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="sticky">
<header class="header header--desktop">
<div class="container">
<a class="site-header__branding" href="https://streetsupport.net/">
<img src="<?php echo get_site_url (); ?>/wp-content/themes/ssnblog/images/site_icon.svg" class="branding__logo" alt="street support logo">
<span class="branding__text">Street Support</span>
</a>
<nav class="header__nav">
<ul class="nav__list">
<li class="nav__item nav__item--about"><a href="https://streetsupport.net/about/">About</a></li>
<li class="nav__item nav__item--news nav__item--active"><a href="/">News</a></li>
<li class="nav__item nav__item--contact"><a href="https://streetsupport.net/contact/">Contact Us</a></li>
</ul>
</nav>
</div>
</header>
<nav class="city-nav">
<ul class="nav__list nav__list">
<li class="nav__item nav__item--findhelp"><a href="https://streetsupport.net/find-help/">Find Help</a></li>
<li class="nav__item nav__item--givehelp"><a href="https://streetsupport.net/give-help/">Give Help</a></li>
<li class="nav__item nav__item--charter"><a href="https://charter.streetsupport.net">Charter</a></li>
<li class="nav__item nav__item--bigchange"><a href="https://streetsupport.net/manchester/bigchangemcr/">Big Change</a></li>
<li class="nav__item nav__item--news">
<ul class="nav__list nav__list--sub-list">
<li class="nav__item nav__item--sub-item nav__item--stories"><a href="/category/stories/">Stories</a></li>
<li class="nav__item nav__item--sub-item nav__item--articles"><a href="/category/articles/">Articles</a></li>
<li class="nav__item nav__item--sub-item nav__item--latestnews"><a href="/category/latest-news/">News</a></li>
</ul>
</li>
<li class="nav__item nav__item--toolkit"><a href="https://streetsupport.net/manchester/standards-toolkit/">Standards Toolkit</a></li>
</ul>
</nav>
</div>
<nav class="nav__container js-nav-container nav--mobile">
<button class="btn btn--plain nav__btn js-nav-close" type="button"><span class="hide-screen">Close</span></button>
<ul class="nav__list">
<li class="nav__item"><a href="https://streetsupport.net/">Home</a></li>
<li class="nav__item nav__item--findhelp">
<a href="https://streetsupport.net/find-help/">Find Help</a>
<ul class="nav__list nav__list--sub-list">
<li class="nav__item nav__item--emergencyhelp"><a href="https://streetsupport.net/manchester/emergency-help/">Emergency Help</a></li>
<li class="nav__item nav__item--allorganisations"><a href="https://streetsupport.net/find-help/all-service-providers/?location=manchester">Organisations</a></li>
</ul>
</li>
<li class="nav__item nav__item--givehelp">
<a href="https://streetsupport.net/give-help/">Give Help</a>
<ul class="nav__list nav__list--sub-list">
<li class="nav__item nav__item--sub-item nav__item--giveitems"><a href="https://streetsupport.net/give-help/help/">Help</a></li>
<li class="nav__item nav__item--sub-item nav__item--donate"><a href="https://streetsupport.net/give-help/donate/">Donate</a></li>
<li class="nav__item nav__item--sub-item nav__item--volunteer"><a href="https://streetsupport.net/give-help/volunteer/">Volunteer</a></li>
<li class="nav__item nav__item--sub-item nav__item--offeritems"><a href="https://streetsupport.net/give-help/offer-items/">Offer Items</a></li>
<li class="nav__item nav__item--sub-item nav__item--partnership"><a href="https://streetsupport.net/give-help/partnership/">Partnership</a></li>
</ul>
</li>
<li class="nav__item nav__item--charter"><a href="https://charter.streetsupport.net">Charter</a></li>
<li class="nav__item nav__item--bigchange"><a href="https://streetsupport.net/manchester/bigchangemcr/">Big Change</a></li>
<li class="nav__item nav__item--toolkit">
<a href="https://streetsupport.net/manchester/standards-toolkit/">Standards Toolkit</a>
</li>
<li class="nav__item nav__item--about"><a href="https://streetsupport.net/about/">About</a></li>
<li class="nav__item nav__item--news">
<a href="/">News</a>
<ul class="nav__list nav__list--sub-list">
<li class="nav__item nav__item--sub-item nav__item--stories"><a href="/category/stories/">Stories</a></li>
<li class="nav__item nav__item--sub-item nav__item--articles"><a href="/category/articles/">Articles</a></li>
<li class="nav__item nav__item--sub-item nav__item--latest-news"><a href="/category/latest-news/">Latest News</a></li>
</ul>
</li>
<li class="nav__item nav__item--contact"><a href="https://streetsupport.net/contact/">Contact Us</a></li>
</ul>
</nav>
<div id="page" class="site nav__push js-nav-push">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'ssnblog' ); ?></a>
<header class="site-header" role="banner">
<a class="site-header__branding" href="https://streetsupport.net/">
<img src="<?php echo get_site_url (); ?>/wp-content/themes/ssnblog/images/site_icon.svg" class="branding__logo" alt="street support logo">
<span class="branding__text">Street Support</span>
</a>
<button class="btn btn--plain btn--brand-d site-header__nav-button js-nav-open">
<span class="btn__text">Menu</span>
</button>
</header>
<div id="content" class="site-content">