This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
60 lines (60 loc) · 3.72 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <!-- ends in footer.php -->
<head>
<?php
$themeOptions = get_option('Horizontally Delicious');
?>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<?php if (is_home() || is_archive()) : ?>
<meta name="robots" content="noindex,nocache,follow" />
<?php endif; ?>
<title><?php wp_title('«',true,'right'); ?><?php bloginfo('name'); ?></title>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
<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 1.0" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ($themeOptions["include_sifr"] == 1 || (isset($themeOptions["sifr_alternate_path"]) && $themeOptions["sifr_alternate_path"] != '')) : ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/sIFR-print.css" type="text/css" media="print" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/sIFR-screen.css" type="text/css" media="screen" />
<?php endif; ?>
<?php
wp_get_archives('type=monthly&format=link');
echo stripslashes($themeOptions["additional_head"]);
?>
</head>
<?php flush(); ?>
<body> <!-- ends in footer.php -->
<div id="header" class="wrap">
<div id="blogTitle">
<h1 class="title"><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
<p class="description"><?php bloginfo('description'); ?></p>
</div>
<ul id="nav" class="clearfix">
<li class="parent hoverable categories">
<?php if ($themeOptions["categories_is_link"] == 1) : ?><a href="<?php bloginfo('url'); ?>/categories/" title="Categories"><?php else : echo "<span>"; endif; _e('Categories'); ?><?php if ($themeOptions["categories_is_link"] == 1) : ?></a><?php else: echo "</span>"; endif; ?>
<ul class="child">
<?php wp_list_categories('title_li=0&show_count=1'); ?>
</ul>
</li>
<li class="parent hoverable tags">
<?php if ($themeOptions["tags_is_link"] == 1) : ?><a href="<?php bloginfo('url'); ?>/tags/" title="Tags"><?php else : echo "<span>"; endif; _e('Tags'); ?><?php if ($themeOptions["tags_is_link"] == 1) : ?></a><?php else : echo "</span>"; endif; ?>
<?php bjs_wp_tag_cloud('unit=em&smallest=1&largest=1.01&format=list'); ?>
</li>
<li class="parent hoverable pages">
<?php if ($themeOptions["pages_is_link"] == 1) : ?><a href="<?php bloginfo('url'); ?>/pages/" title="Pages"><?php else : echo "<span>"; endif; _e('Pages'); ?><?php if ($themeOptions["pages_is_link"] == 1) : ?></a><?php else : echo "</span>"; endif; ?>
<ul class="child">
<?php wp_list_pages('title_li=0&sort_column=post_date'); ?>
</ul>
</li>
<li class="parent hoverable archives">
<?php if ($themeOptions["archives_is_link"] == 1) : ?><a href="<?php bloginfo('url'); ?>/archives/" title="Archives"><?php else : echo "<span>"; endif; _e('Archives'); ?><?php if ($themeOptions["archives_is_link"] == 1) : ?></a><?php else : echo "</span>"; endif; ?>
<ul class="child">
<?php wp_get_archives('type=monthly&show_post_count=1'); ?>
</ul>
</li>
</ul>
</div>
<div id="body" class="wrap"> <!-- ends in footer.php -->
<!-- content filled in here -->