forked from M69W/kunkka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
99 lines (97 loc) · 3.07 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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<?php mutheme_head(); ?>
</head>
<body <?php mutheme_body_class(); ?>>
<div id="header">
<div class="container clearfix">
<h2 class="logo">
<a href="<?php bloginfo( 'url' ); ?>" title="<?php bloginfo( 'name' ); ?>" rel="home">
<img src="<?php echo mutheme_image( 'logo.png' ); ?>" alt="<?php bloginfo( 'name' ); ?>" width="102"
height="30"/>
</a>
</h2>
<div class="global-nav left">
<ul class="gnul">
<li class="gnli <?php if ( is_home() ) {
echo "current";
} ?>">
<a class="gna" href="<?php bloginfo( 'url' ); ?>" title="<?php bloginfo( 'name' ); ?>">
<span><?php _e( 'Home', MUTHEME_NAME ); ?></span>
</a>
</li>
<?php if ( ! mutheme_settings( 'disable_global_navigation' ) ) { ?>
<li class="gnli dropdown<?php if ( is_single() ) {
echo " current";
} ?>">
<a class="gna dropdown-link" href="javascript:;">
<span><?php _e( 'Navigation', MUTHEME_NAME ); ?></span>
</a>
<div class="dropdown-arrow1"></div>
<div class="dropdown-arrow2"></div>
<div class="submenu">
<div class="tab-content">
<table>
<tbody>
<tr class="trline">
<td class="tdleft"><?php _e( 'Categories', MUTHEME_NAME ); ?></td>
<td class="tdright">
<div class="tab-categories">
<ul>
<?php wp_list_categories( '&title_li=' ); ?>
</ul>
</div>
</td>
</tr>
<tr class="trline">
<td class="tdleft"><?php _e( 'Pages', MUTHEME_NAME ); ?></td>
<td class="tdright">
<?php wp_nav_menu( array(
'theme_location' => 'global-menu',
'container_class' => 'tab-categories'
) ); ?>
</td>
</tr>
<tr>
<td class="tdleft"><?php _e( 'Tags', MUTHEME_NAME ); ?></td>
<td class="tdright">
<div class="tab-tags">
<?php wp_tag_cloud( array(
'unit' => 'px',
'smallest' => 12,
'largest' => 12,
'number' => mutheme_settings( 'tag_number' ),
'format' => 'flat',
'orderby' => 'count',
'order' => 'DESC'
) ); ?>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<?php } ?>
</ul>
</div>
<div class="global-nav global-custom-nav left">
<?php wp_nav_menu( array(
'theme_location' => 'top-menu',
'container_class' => 'top-menu'
) ); ?>
</div>
<form method="get" class="search-form" action="<?php bloginfo( 'home' ); ?>/">
<input type="text" name="s" class="search-input" placeholder="<?php _e( 'Search keyword', MUTHEME_NAME ); ?>" />
<button type="submit" class="search-submit">
<span class="mutheme-search"></span>
</button>
</form>
<div class="mobile-menu-button"></div>
</div>
</div>
<!-- #header -->
<div id="content">
<div class="container clearfix">