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

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 1.5 KB
Line 
1<?php
2/**
3 * @package WordPress
4 * @subpackage Default_Theme
5 */
6?>
7<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
9
10<head profile="http://gmpg.org/xfn/11">
11<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
12
13<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
14
15<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
16<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
17
18<style type="text/css" media="screen">
19
20<?php
21// Checks to see whether it needs a sidebar or not
22if ( empty($withcomments) && !is_single() ) {
23?>
24 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
25<?php } else { // No sidebar ?>
26 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
27<?php } ?>
28
29</style>
30
31<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
32
33<?php wp_head(); ?>
34</head>
35<body <?php body_class(); ?>>
36<div id="page">
37
38
39<div id="header" role="banner">
40 <div id="headerimg">
41 <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
42 <div class="description"><?php bloginfo('description'); ?></div>
43 </div>
44</div>
45<hr />
Note: See TracBrowser for help on using the repository browser.