-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
71 lines (54 loc) · 3.03 KB
/
header.php
File metadata and controls
71 lines (54 loc) · 3.03 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
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if (is_single() || is_page()) { ?> <link rel="canonical" href="<?php the_permalink(); ?>" /> <?php } ?>
<?php wp_head(); ?>
<script src="<?php bloginfo('template_url'); ?>/includes/flexibility.js"></script>
<!-- Global style reset and WP basic styles -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/reset.css?v=<?php echo filemtime(TEMPLATEPATH . '/css/reset.css'); ?>" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/wp.css?v=<?php echo filemtime(TEMPLATEPATH . '/css/wp.css'); ?>" media="screen, projection" />
<!-- Theme-specific style -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css?v=<?php echo filemtime(TEMPLATEPATH . '/style.css'); ?>" media="screen, projection" />
<!-- Mobile styles -->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/mobile-nav.css?v=<?php echo filemtime(TEMPLATEPATH . '/css/mobile-nav.css'); ?>" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/responsive.css?v=<?php echo filemtime(TEMPLATEPATH . '/css/responsive.css'); ?>" media="screen, projection" />
</head>
<body <?php body_class(); ?>>
<div id="st-container" class="st-container">
<!-- content push wrapper -->
<div class="st-pusher">
<nav class="st-menu st-effect-3" id="menu-3">
<!-- menu content -->
<h2 class="icon icon-lab">Menu</h2>
<?php
wp_nav_menu( array(
'theme_location' => 'mobile',
'depth' => 2,
'container' => 'div',
'container_class' => 'collapse navbar-collapse navbar-1-collapse',
'menu_class' => 'nav navbar-nav',
'fallback_cb' => 'sf_navwalker::fallback',
'walker' => new sf_navwalker())
);
?>
</nav>
<div id="st-trigger-effects"><button data-effect="st-effect-3">Menu</button></div>
<div class="st-content"><!-- this is the wrapper for the content -->
<div class="st-content-inner"><!-- extra div for emulating position:fixed of the menu -->
<!-- wrapper -->
<div id="wrapper" class="frame">
<header id="header" role="banner">
<hgroup id="logo">
<h1 id="site-name"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup>
<nav id="nav" role="navigation">
<?php wp_nav_menu(array('theme_location' => 'primary')); ?>
</nav>
</header>