source: trunk/www.guidonia.net/wp/wp-content/themes/duplexes/header.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 15 years ago
File size: 2.1 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
4<head>
5<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
6<title><?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description');
7} elseif (is_category() ) {single_cat_title(); echo " - "; bloginfo('name');
8} elseif (is_single() || is_page() ) {single_post_title(); echo " - "; bloginfo('name');
9} elseif (is_search() ) {bloginfo('name'); echo " search results: "; echo wp_specialchars($s);
10} else { wp_title('',true); }?></title>
11<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
12<meta name="robots" content="follow, all" />
13<meta name="distribution" content="global" />
14<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
15<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
16<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
17<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
18<?php wp_head(); ?>
19
20
21<!--[if lt IE 7]>
22<link href="<?php bloginfo('template_url'); ?>/ie6.css" rel="stylesheet" type="text/css" />
23<![endif]-->
24
25</head>
26
27<body>
28<div id="wrapper">
29
30<div id="header">
31<div id="title">
32<h1><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
33<span><?php bloginfo('description'); ?></span>
34</div>
35
36<div id="topnav">
37<ul>
38 <li><a class="rss" href="feed:<?php bloginfo('comments_rss2_url'); ?>">comments RSS</a></li>
39 <li><a class="rss" href="feed:<?php bloginfo('rss2_url'); ?>">full RSS</a></li>
40</ul>
41</div>
42<div class="cleared"></div>
43
44<div id="mainnav">
45<ul id="pagesmenu">
46 <li><a href="<?php echo get_option('home'); ?>">Home</a></li>
47 <?php wp_list_pages('depth=1&title_li=0&sort_column=menu_order'); ?>
48</ul>
49<div id="searchmenu"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
50</div>
51
52</div> <!-- Closes header -->
Note: See TracBrowser for help on using the repository browser.