-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·108 lines (83 loc) · 3.73 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
<!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>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CMYSX890BF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CMYSX890BF');
</script>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title><?php wp_title( '|', true, 'right' ); ?> <?php bloginfo( 'sitename' ) ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
<link href="<?php bloginfo( "template_url" ) ?>/css/main.css?v=5" rel="stylesheet" type="text/css">
<!-- gtag 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-59VD46M');</script>
<!-- end gtag manager -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#444444">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<?php print the_field( 'header_code', 'option' ); ?>
<script async src="https://api.glia.com/salemove_integration.js"></script>
</head>
<body <?php body_class(); ?>>
<?php print the_field( 'body_code', 'option' ); ?>
<?php do_action( 'wp_body_open' ); ?>
<!-- gtag manager noscript -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-59VD46M" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- end gtag manager noscript -->
<?php the_notice_bar(); ?>
<div class="container">
<header>
<div class="wrap">
<div class="logo">
<a href="/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php bloginfo( "template_url" ) ?>/img/logo-color.svg" alt="<?php bloginfo( 'name' ); ?>">
</a>
</div>
<div class="aux">
<!--
<div class="social-icons">
<?php
theme_social_icon( 'twitter' );
theme_social_icon( 'facebook' );
theme_social_icon( 'instagram' );
theme_social_icon( 'linkedin' );
theme_social_icon( 'youtube' );
?>
</div>
-->
<div class="search">
<?php get_search_form() ?>
</div>
<div class="quick-links"><?php wp_nav_menu( array( 'theme_location' => 'header-aux', 'menu_class' => 'nav-menu' ) ); ?></div>
<!-- <div class="routing">Routing Number: 254074426</div> -->
<div class="online-banking">
<a href="#" class="online-banking-button">Online Banking</a>
<div class="online-banking-form">
<?php print get_field( 'online_banking_form', 'option' ); ?>
</div>
</div>
</div>
</div>
<nav>
<button class="menu-toggle">Show/hide Menu</button>
<?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'menu_class' => 'nav-menu' ) ); ?>
</nav>
</header>
<section class="content">
<a name="content"></a>