-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
87 lines (55 loc) · 3 KB
/
Copy pathheader.php
File metadata and controls
87 lines (55 loc) · 3 KB
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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<!-- 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-KMKTT52');</script>
<!-- End Google Tag Manager -->
<!-- Google site verification -->
<meta name="google-site-verification" content="9V0VB6MMRRBu4_mr9oZliBf483dlCWRjOK666BL2vT0" />
<!-- End Google site verification -->
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class( 'bg-black text-white antialiased font-josephin' ); ?>>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KMKTT52"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<?php do_action( 'embepiercing_site_before' ); ?>
<?php $adultery = get_field('adultery', get_the_ID() ); ?>
<?php if ($adultery === true && is_single() ) : ?>
<?php echo get_template_part('/template-parts/partials/modal-cookies-adultery'); ?>
<?php endif; ?>
<?php echo get_template_part('/template-parts/partials/modal-cookies-general'); ?>
<!-- <div id="progressBar"></div> -->
<!-- desktop menu -->
<?php echo get_template_part('/template-parts/layout/menu-desktop-front-page_1'); ?>
<!-- / desktop menu -->
<header id="fixedMenuMobile" class="fixed w-full z-40">
<div class="container mx-auto flex">
<?php do_action( 'embepiercing_header' ); ?>
<?php get_template_part( 'template-parts/layout/menu-mobile'); ?>
</div>
</header>
<div id="heroImageHolder" class="embebg fadeOut -z-10">
<?php $front_page_id = get_option( 'page_on_front' ); ?>
<?php $welcome_view_image = get_field('welcome_view_image', $front_page_id); ?>
<img src="<?php echo $welcome_view_image['url']; ?>" alt="<?php echo $welcome_view_image['alt']; ?>" />
</div>
<div id="luxy" class="z-30 will-change-transform">
<div id="page" class="min-h-screen flex flex-col opacity-0 transition-opacity duration-[500ms] will-change-transform">
<!-- front page only -->
<?php if (is_front_page()): ?>
<?php echo get_template_part('/template-parts/layout/menu-desktop-front-page_2'); ?>
<?php endif; ?>
<!-- / front page only -->
<div id="content" class="site-content pt-20 flex-grow">
<?php do_action( 'embepiercing_content_start' ); ?>
<main>