-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
32 lines (26 loc) · 1.42 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
<!doctype html>
<html>
<head>
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Archives <?php } ?> <?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<meta name="description" content="<?php bloginfo('description'); ?>" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<?php comments_popup_script(); ?>
<?php wp_head(); ?>
</head>
<body id="<?php echo (is_page()) ? get_query_var('name') : ((is_home()) ? "home" : ((is_single()) ? "archives": ((is_category()) ? "archives" : ((is_archive()) ? "archives" : "")))); ?>">
<div id="container">
<div id="header">
<div id="header-inner" class="clearfix">
<div id="title">
<h1><a href="<?php echo get_settings('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
<p id="tagline"><?php bloginfo('description'); ?></p>
</div>
<ul id="nav">
<li id="nav-home"><a href="<?php bloginfo('url'); ?>" title="Photos Home">Home</a></li>
<?php wp_list_pages("depth=1&exclude=$avatar_page_id->ID,$tags_page_id->ID&title_li="); ?>
<li id="nav-default"><a href="<?php bloginfo('rss2_url'); ?>" title="Subscribe to Feed">RSS Feed</a></li>
</ul>
</div>
</div>