-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.php
executable file
·111 lines (97 loc) · 4.11 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
<?php
/**
* Defines the header for the theme
*
* @since 0.0.1
*/
?><!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<?php // Norton (antivirus) site verification ?>
<meta name="norton-safeweb-site-verification" content="76pjayqho2b-o0ee15b21ykyl98u-5x6dw0p1ov7mxxlb7blrsl5rdoy2k3vo937nkovg48qwq9m2mzx76jqddsi9ano2qkoz23eanbteafwoic24iaek5ud-70q6lq1" />
<?php // Bootstrap 4 CSS from CDN ?>
<!-- <link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
-->
<?php // jQuery NOT SLIM (we need AJAX) ?>
<!-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous">
</script>
-->
<?php // MailerLite ?>
<script>
(function(m,a,i,l,e,r){ m['MailerLiteObject']=e;function f(){
var c={ a:arguments,q:[]};var r=this.push(c);return "number"!=typeof r?r:f.bind(c.q);}
f.q=f.q||[];m[e]=m[e]||f.bind(f.q);m[e].q=m[e].q||f.q;r=a.createElement(i);
var _=a.getElementsByTagName(i)[0];r.async=1;r.src=l+'?v'+(~~(new Date().getTime()/1000000));
_.parentNode.insertBefore(r,_);})(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml');
var ml_account = ml('accounts', '1932420', 'f8d4p0r8d6', 'load');
</script>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="cfct-site-header" class="container-fluid" role="banner">
<div id="cfct-logo-container" class="row justify-content-center pt-5 pb-5">
<div id="cfct-logo" class="col-10 col-sm-8 col-lg-6 col-xl-4">
<a href="https://crowdfight.org">
<img src="<?php echo get_template_directory_uri() . '/img/logo-new.png'; ?>" alt="Crowdfight logo">
</a>
</div>
</div>
<?php if(has_nav_menu('header-menu')): ?>
<div id="" class="row justify-content-center p-2">
<nav class="col navbar navbar-expand-sm navbar-light justify-content-center align-items-stretch">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
Menu
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-center" id="navbarNav">
<?php
wp_nav_menu(array(
'walker' => new CFCT_Header_Nav_Walker(),
'theme_location' => 'header-menu'
));
?>
</div>
</nav>
</div>
<?php endif; ?>
<?php /*if(has_nav_menu('header-menu')):*/ ?>
<!--
<div id="cfct-menu-container" class="row justify-content-center pt-5 pb-5">
<nav id="cfct-menu" class="col text-center">
-->
<?php /*
wp_nav_menu(array(
'walker' => new CFCT_Header_Nav_Walker(),
'theme_location' => 'header-menu'
));*/
?>
<!--
</nav>
</div>
-->
<?php/* endif; */?>
<!--
<div id="cfct-message-container" class="row justify-content-center mb-5">
<div id="cfct-message" class="col-10 p-2">
<p class="mt-0">
<strong>NOTE:</strong> we in CrowdFight COVID-19 are working against the clock to migrate all our website to a new server,
creating WordPress plugins, developing code for our new theme and more great things that are to come!
</p>
<p>
Please, understand we are all volunteers working hard to have a great platform for everyone, so you might see weird stuff
going on in the next few days. Thanks for your understanding! :)
</p>
<p class="mb-0">
By the way, we will release open source code in the following days/weeks, so stay tuned!
</p>
</div>
</div>
-->
</header>