-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·46 lines (42 loc) · 1.57 KB
/
header.php
File metadata and controls
executable file
·46 lines (42 loc) · 1.57 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
<?php
/**
* The header for our theme.
*
*
* @package WordPress
* @subpackage Zemplate
* @since Zemplate 2.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php bloginfo('name'); ?> | <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title>
<?php //<meta name="viewport" content="width=device-width, initial-scale=1.0" /> ?>
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<?php wp_head(); //mandatory ?>
<?php //get_template_part('templates/parts/header', 'analytics'); ?>
</head>
<body <?php body_class('page-'.$post->post_name); ?>>
<div class="wrap-all-the-things">
<header class="main-head">
<div class="main-head__inner">
<div class="main-head__nav">
<?php
$attr = array(
'theme_location' => 'head-menu',
'container' => 'nav',
'container_class' => 'head-nav',
'menu_class' => 'menu'
);
wp_nav_menu($attr);
?>
</div>
</div> <!-- //__inner -->
</header> <!-- //main-head -->