-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
77 lines (71 loc) · 3.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>
<?php echo $blog_title = get_bloginfo( 'name' ); ?>
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<?php wp_head() ?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132663926-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-132663926-1');
</script>
<!-- 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-PBCV9H7');</script>
<!-- End Google Tag Manager -->
</head>
<body <?php body_id_dynamic();body_class(); ?> >
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PBCV9H7"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<main class="main">
<nav class="navbar navbar-expand-lg navbar-light bg-light dyepie_navbar">
<div class="row middle_size_container">
<a class="navbar-brand" href="#">DYEPIE.COM</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse text-center" id="navbarSupportedContent">
<?php /* Primary navigation */
wp_nav_menu( array(
'menu' => 'header_menu',
'depth' => 2,
'container' => false,
'menu_class' => 'nav',
//Process nav menu using our custom nav walker
'walker' => new wp_bootstrap_navwalker())
);
?>
</div>
<div class="login_main">
<a class="login-trigger" href="#" data-target="#login" data-toggle="modal">SIGN IN - SIGN UP</a>
<div id="login" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<button data-dismiss="modal" class="close">×</button>
<?php get_template_part('template-parts/login', 'frontjs') ?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="logout">
<a class="log-out-trigger" href="<?php echo wp_logout_url(home_url());
?>">LogOut</a>
</div>
</nav>
<?php get_template_part('template-parts/header-footer/header','slider');?>
</main>