-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
88 lines (69 loc) · 2.8 KB
/
header.php
File metadata and controls
88 lines (69 loc) · 2.8 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<link href='<?php echo esc_url( get_template_directory_uri() ); ?>/./images/favicon.ico' rel='icon' type='image/x-icon'/>
<?php global $zboom_music; ?>
<style type="text/css">
header{
background-color: <?php echo $zboom_music['bg_color']; ?> !important;
background-color: <?php echo $zboom_music['bg_color']; ?> !important;
}
header {
border-style:<?php echo $zboom_music['border_sel']['border-style']; ?> !important;
border-color:<?php echo $zboom_music['border_sel']['border-color']; ?> !important;
border-top:<?php echo $zboom_music['border_sel']['border-top']; ?> !important;
border-bottom:<?php echo $zboom_music['border_sel']['border-bottom']; ?> !important;
border-right:<?php echo $zboom_music['border_sel']['border-right']; ?> !important;
border-left:<?php echo $zboom_music['border_sel']['border-left']; ?> !important;
}
body{
background-color: <?php echo $zboom_music['sel_bg_color']['background-color']; ?> !important;
background-image: url(<?php echo $zboom_music['sel_bg_color']['background-image']; ?>) !important;
background-repeat: <?php echo $zboom_music['sel_bg_color']['background-repeat']; ?> !important;
background-position: <?php echo $zboom_music['sel_bg_color']['background-position']; ?>!important;
}
</style>
<?php wp_head(); ?>
</head>
<body>
<header>
<div class="wrap-header zerogrid" >
<?php
if ( $zboom_music['select_button'] == 1 ) { ?>
<div id="logo"><a href="<?php bloginfo('home'); ?>"><img src="<?php global $zboom_music; echo $zboom_music['header_logo']['url']; ?>"/></a></div>
<?php }
elseif ( $zboom_music['select_button'] == 2 ) {
}
?>
<div id="search">
<div class="button-search"></div>
<form action="<?php esc_url(bloginfo('home')); ?>" method="get">
<input type="text" name="s" value="Search..." onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}">
</form>
</div>
</div>
</header>
<nav>
<div class="wrap-nav zerogrid">
<div class="menu">
<?php
wp_nav_menu( array(
'theme_location' => 'header-menu',
'container' => ' ',
'fallback_cb' => 'zboom_default_menu',
) );
?>
</div>
<div class="minimenu"><div>MENU</div>
<select onchange="location=this.value">
<option></option>
<option value="index.html">Home</option>
<option value="blog.html">Blog</option>
<option value="gallery.html">Gallery</option>
<option value="single.html">About</option>
<option value="contact.html">Contact</option>
</select>
</div>
</div>
</nav>