-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
84 lines (73 loc) · 3.15 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
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html <?php language_attributes();?>> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="<?php bloginfo('charset');?>">
<meta name="description" content="<?php bloginfo('description');?>">
<meta name="author" content="Adnan">
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS
================================================== -->
<link rel="stylesheet" href="<?php echo esc_url(get_template_directory_uri());?>/css/zerogrid.css">
<link rel="stylesheet" href="<?php echo esc_url(get_template_directory_uri());?>/css/style.css">
<link rel="stylesheet" href="<?php echo esc_url(get_template_directory_uri());?>/css/responsive.css">
<link rel="stylesheet" href="<?php echo esc_url(get_template_directory_uri());?>/css/responsiveslides.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url');?>">
<!--[if lt IE 8]>
<div style=' clear: both; text-align:center; position: relative;'>
<a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<script src="js/css3-mediaqueries.js"></script>
<![endif]-->
<link href='<?php echo esc_url(get_template_directory_uri());?>/images/favicon.ico' rel='icon' type='image/x-icon'/>
<script src="<?php echo esc_url(get_template_directory_uri());?>/js/jquery.min.js"></script>
<script src="<?php echo esc_url(get_template_directory_uri());?>/js/responsiveslides.js"></script>
<script>
$(function () {
$("#slider").responsiveSlides({
auto: true,
pager: false,
nav: true,
speed: 500,
maxwidth: 962,
namespace: "centered-btns"
});
});
</script>
<?php wp_head();?>
</head>
<body <?php body_class();?>>
<!--------------Header--------------->
<header>
<div class="wrap-header zerogrid">
<div id="logo"><a href="<?php bloginfo('home');?>"><img src="<?php echo get_template_directory_uri();?>/images/logo.png"/></a></div>
<div id="search">
<div class="button-search"></div>
<form method="GET" action="<?php bloginfo('home'); ?>">
<input name="s" type="text" 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' => 'main-menu',
));
?>
</div>
</div>
</nav>