-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
42 lines (40 loc) · 1.23 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<!-- head START -->
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MDCFMN317L"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-MDCFMN317L');
</script>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php the_title(); ?></title>
<?php wp_head(); ?>
</head>
<!-- head END -->
<!-- body START -->
<body <?php body_class(); ?>>
<!-- header START -->
<header>
<h1><?php bloginfo('name'); ?></h1>
<a href="<?php echo get_home_url(); ?>" class="logo">
<img src="<?php echo get_template_directory_uri(); ?>/images/khoj-logos/khoj-full-logo-primary.png" alt="khoj india logo">
</a>
<!-- nav START -->
<input type="checkbox" id="nav-toggle" class="nav-toggle">
<nav class="sitenav" role="navigation">
<?php wp_nav_menu(array(
'theme_location' => 'primary',
'menu_class' => 'nav-menu',
)); ?>
</nav>
<label for="nav-toggle" class="nav-toggle-label"><span></span></label>
<!-- nav END -->
</header>
<!-- header END -->