This repository has been archived by the owner on Apr 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
51 lines (46 loc) · 1.84 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
<!doctype html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<!-- dns prefetch -->
<link href="//www.google-analytics.com" rel="dns-prefetch">
<!-- meta -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="description" content="<?php bloginfo('description'); ?>">
<!-- icons -->
<link href="<?php echo get_template_directory_uri(); ?>/img/icons/favicon.ico" rel="shortcut icon">
<link href="<?php echo get_template_directory_uri(); ?>/img/icons/touch.png" rel="apple-touch-icon-precomposed">
<!-- css + javascript -->
<?php wp_head(); ?>
<script>
!function(){
// configure legacy, retina, touch requirements @ conditionizr.com
conditionizr()
}()
</script>
</head>
<body <?php body_class(); ?>>
<!-- header -->
<!-- nav -->
<header id="navbar" class="bck color">
<div class="row text center">
<nav data-tuktuk="menu" class="column_12 padding text bold">
<h2 class="column_3"><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h2>
<?php
$defaults = array(
'theme_location' => 'header-menu',
'container' => 'nav',
'container_class' => 'menu',
'echo' => false,
'fallback_cb' => false,
'items_wrap' => '%3$s',
'depth' => 0
);
echo strip_tags(wp_nav_menu( $defaults ), '<nav><a>');
?>
</nav>
</div>
</header>
<!-- /header -->