-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
31 lines (24 loc) · 975 Bytes
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<title><?php bloginfo('name'); ?></title>
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<?php
$custom_logo_id = get_theme_mod( 'custom_logo' );
$siteLogo = wp_get_attachment_image( $custom_logo_id, 'full', false, array('class' => 'logo'));
?>
<header>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo $siteLogo ?></a>
<button class="hamburger">☰</button>
<button class="cross">X</button>
<?php wp_nav_menu( array( 'theme_location' => 'the-menu', 'container_class' => 'landbryo-menu' ) ); ?>
</header>
<body <?php body_class(); ?>>