-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
44 lines (34 loc) · 1.06 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
<?php
$htmlClassArr = array( 'no-js' );
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="<?= esc_attr( implode( ' ', $htmlClassArr ) ); ?>">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="preload" href="<?= esc_url( get_template_directory_uri() . '/fonts/mulish-v12-latin-500.woff2' ); ?>" as="font" type="font/woff2" crossorigin>
<?php
wp_head();
?>
<script>
// in case any of the links and scripts fail
setTimeout(function() {
document.body.style.visibility = 'visible';
document.body.style.opacity = '1';
}, 1500);
</script>
</head>
<body <?php body_class(); ?> tabindex="-1" style="visibility: hidden; opacity: 0;">
<?php
wp_body_open();
?>
<?php
get_template_part( 'inc/banner-cookies' );
get_template_part( 'inc/skiplinks' );
?>
<div id="maindocument">
<?php
get_template_part( 'inc/client-header' );
get_template_part( 'inc/banner-alert' );
?>
<main id="content" class="main" tabindex="-1">