-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
115 lines (76 loc) · 3.25 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
<?php
/**
* The Header template for our theme
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Custom Theme 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 content="width=device-width initial-scale=1.0 minimum-scale=1.0 maximum-scale=1.0 user-scalable=no" name="viewport" />
<title>
<?php wp_title( '|', true, 'right' ); ?>
<?php bloginfo('name'); ?>
</title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<link href="https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script> <![endif]-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!-- / wrapper \ -->
<div id="wrapper">
<!-- / header container \ -->
<header id="headerCntr">
<div class="headerTop">
<div class="mycontainer">
<aside class="contact">
<?php if( get_field('phone_number_1', 'option') ): ?><a href="tel:<?php the_field('phone_number_1', 'option'); ?>"><i class="fa fa-phone"></i> <?php the_field('phone_number_1', 'option'); ?></a><?php endif; ?>
<?php if( get_field('phone_number_2', 'option') ): ?><a href="tel:<?php the_field('phone_number_2', 'option'); ?>"><i class="fa fa-phone"></i> <?php the_field('phone_number_2', 'option'); ?></a><?php endif; ?>
</aside>
<aside class="socail">
<a href="<?php the_field('instagram_link', 'option'); ?>" target="_blank" class="fa fa-instagram"></a>
<a href="<?php the_field('facebook_link', 'option'); ?>" target="_blank" class="fa fa-facebook"></a>
<a href="<?php the_field('twitter_link', 'option'); ?>" target="_blank" class="fa fa-twitter"></a>
</aside>
<aside class="nonprofit">
</aside>
</div>
</div>
<div class="headerBottom">
<div class="mycontainer">
<aside class="logoBox">
<a href="<?php bloginfo('url'); ?>"><img src="<?php the_field('logo', 'option'); ?>" alt="alt" /></a>
</aside>
<div class="addBox">
<?php the_field('official_text', 'option'); ?>
</div>
<nav class="menuBox">
<?php wp_nav_menu('menu=mainmenu'); ?>
<a href="<?php the_field('donate_link', 'option'); ?>" class="donate">Donate</a>
</nav>
<nav class="mobilemenuBox">
<a href="<?php the_field('donate_link', 'option'); ?>" class="donate">Donate</a>
<a href="#mmenu" class="menutoggle fa fa-bars"></a>
<div id="mmenu">
<?php wp_nav_menu('menu=mainmenu'); ?>
</div>
</nav>
</div>
</div>
</header>
<!-- \ header container / -->