PageRenderTime 52ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/themes/bluesky/header.php

https://bitbucket.org/lgorence/quickpress
PHP | 40 lines | 27 code | 10 blank | 3 comment | 5 complexity | 56cd2cc66d94e90b1ac6c49741bb7db2 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, AGPL-1.0
  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. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
  6. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
  7. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  8. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  9. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  10. <style type="text/css" media="screen">
  11. <?php
  12. // Checks to see whether it needs a sidebar or not
  13. if ( !$withcomments && !is_single() ) {
  14. ?>
  15. #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/blueskybg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
  16. <?php } else { // No sidebar ?>
  17. #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/blueskybgwide.jpg") repeat-y top; border: none; }
  18. <?php } ?>
  19. </style>
  20. <?php wp_head(); ?>
  21. </head>
  22. <body>
  23. <div id="page">
  24. <div id="header">
  25. <div id="headerimg">
  26. <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
  27. <div class="description"><?php bloginfo('description'); ?></div>
  28. </div>
  29. </div>
  30. <hr />