-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·67 lines (65 loc) · 1.7 KB
/
header.php
File metadata and controls
executable file
·67 lines (65 loc) · 1.7 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
<?php
/**
* The header for our theme
*
* @package same
*/
?>
<!DOCTYPE HTML>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<?php wp_head(); ?>
</head>
<body>
<div id="stylesheet_switcher">
<a href="#" id="switcher"></a>
<ul id="stylesheets">
<li>
<a href="#" class="sheet" id="light">
<span class="image"><img src="<?php echo esc_attr( get_template_directory_uri() ) . '/assets/img/gfx/stylesheet_light.jpg'; ?>" alt="" /></span>
<span class="mask"></span>
<span class="name">Light version</span>
</a>
</li>
<li>
<a href="#" class="sheet" id="dark">
<span class="image"><img src="<?php echo esc_attr( get_template_directory_uri() ) . '/assets/img/gfx/stylesheet_dark.jpg'; ?>" alt="" /></span>
<span class="mask"></span>
<span class="name">Dark version</span>
</a>
</li>
</ul>
</div>
<div id="page">
<div id="page_top">
<div id="page_top_in">
<header id="titlebar">
<div class="wrapper">
<?php the_custom_logo(); ?>
<div id="titlebar_right">
<ul id="social_icons">
<?php
if ( is_active_sidebar( 'same-header-icons' ) ) {
dynamic_sidebar( 'same-header-icons' );
}
?>
</ul>
<div class="clear"></div>
<?php
wp_nav_menu(
array(
'theme_location' => 'menu-header',
'container' => 'nav',
'menu_id' => 'top_menu',
'link_before' => '<span>',
'link_after' => '</span>',
'item_wrap' => '<ul id="%1$s"><span>%3$s<span></ul>',
'walker' => new Header_Menu_Walker(),
)
);
?>
</div>
<div class="clear"></div>
</div>
</header>