-
Notifications
You must be signed in to change notification settings - Fork 1
/
header.php
39 lines (38 loc) · 1.68 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
<!DOCTYPE HTML>
<html <?php language_attributes(); ?>>
<head>
<meta charset="UTF-8" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/tags.js"></script>
<title><?php wp_title(''); if ( !(is_home()) ) { ?> » <?php } ?><?php bloginfo('name'); ?></title>
<?php //wp_head(); ?>
</head>
<body <?php body_class($class); ?>>
<!-- S Head -->
<div id="header_wrapper">
<div id="header">
<div id="hgroup">
<h1><a title="<?php bloginfo('name'); ?>" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
</div>
<div id="nav">
<?php
if ( function_exists( 'register_nav_menus' ) ) {
wp_nav_menu(array('theme_location'=>'header_nav','menu_id'=>'header_nav','menu_class' => '','container'=>'ul'));
}
?>
<?php if (is_single() || is_page()) { ?>
<div id="header_sear">
<form action="<?php bloginfo('home'); ?>" class="header_searform" method="get">
<input type="text" class="s" name="s" value=""><input type="submit" value="" class="submit">
</form>
</div>
<?php } ?>
</div>
</div>
</div>
<!-- E Head -->