]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/default/header.php
Wordpress 2.5.1-scripts
[autoinstalls/wordpress.git] / wp-content / themes / default / header.php
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
3
4 <head profile="http://gmpg.org/xfn/11">
5 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
6
7 <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
8
9 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
10 <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
11 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
12
13 <style type="text/css" media="screen">
14
15 <?php
16 // Checks to see whether it needs a sidebar or not
17 if ( !empty($withcomments) && !is_single() ) {
18 ?>
19         #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
20 <?php } else { // No sidebar ?>
21         #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
22 <?php } ?>
23
24 </style>
25
26 <?php wp_head(); ?>
27 </head>
28 <body>
29 <div id="page">
30
31
32 <div id="header">
33         <div id="headerimg">
34                 <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
35                 <div class="description"><?php bloginfo('description'); ?></div>
36         </div>
37 </div>
38 <hr />