forked from WuPlus/WP-Theme-Purity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·30 lines (28 loc) · 1.24 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
<html class ='yui3-js-enabled'>
<link rel ="stylesheet" href="<?php echo get_template_directory_uri(); ?>/pure-min.css">
<link rel ="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css">
<title><?php bloginfo('name'); ?></title>
<body>
<div class ="pure-g-r" id="layout">
<div class ="sidebar pure-u" id="sidebar-pure-u" style="float:left">
<header class ="header">
<hgroup>
<h1 class ="brand-title"><?php bloginfo('name');?></h1>
<h2 class ="brand-tagline"><?php bloginfo('description') ?></h2>
</hgroup>
<?php
$defaults = array(
'theme_location' => '',
'menu' => '',
'container' => 'div',
'container_class' => 'pure-menu pure-menu-open',
'container_id' => 'nag-menu',
'menu_class' => 'menu',
'menu_id' => 'my_menu',
'depth' => 2
);
wp_nav_menu($defaults);
?>
</header>
</div>
<div style='clear:both'></div>