-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathheader.php
More file actions
71 lines (68 loc) · 2.41 KB
/
Copy pathheader.php
File metadata and controls
71 lines (68 loc) · 2.41 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
/**
* The Header for our theme
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Anaglyph_Theme
* @since Anaglyph Theme 1.0
*/
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'anaglyph-lite' ); ?></a>
<div class="navigation-wrapper">
<div class="navigation">
<header class="navbar" id="top" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only"><?php _e('Toggle navigation', 'anaglyph-lite'); ?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php anaglyph_get_logo(); ?>
</div>
<nav class="primary-navigation collapse navbar-collapse bs-navbar-collapse navbar-right" role="navigation" aria-label="<?php _e( 'Primary Navigation', 'anaglyph-lite' ); ?>">
<?php if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu( array(
'theme_location' => 'primary',
'menu_class' => 'nav navbar-nav',
'container' => false,
'walker' => new anaglyph_submenu_class()));
} else {
?>
<ul class="nav navbar-nav">
<?php
wp_list_pages(array('title_li' => '', 'sort_column' => 'ID', 'walker' => new Anaglyph_Page_Walker()));
?>
</ul>
<?php
}
?>
</nav>
</div><!-- /.container -->
</header><!-- /.navbar -->
</div><!-- /.navigation -->
</div><!-- end Header -->
<!-- For top anchor -->
<?php anaglyph_get_hslider(); ?>
<div id="main" class="site-main">