Advertisement
Guest User

Untitled

a guest
Sep 19th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. <?php
  2. /**
  3. * Header Template
  4. *
  5. *
  6. * @file header.php
  7. * @package Pilot Fish
  8. * @filesource wp-content/themes/pilot-fish/header.php
  9. * @since Pilot Fish 0.1
  10. */
  11. ?>
  12. <!doctype html>
  13. <!--[if lt IE 7 ]> <html class="no-js ie6" <?php language_attributes(); ?>> <![endif]-->
  14. <!--[if IE 7 ]> <html class="no-js ie7" <?php language_attributes(); ?>> <![endif]-->
  15. <!--[if IE 8 ]> <html class="no-js ie8" <?php language_attributes(); ?>> <![endif]-->
  16. <!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
  17. <head>
  18. <meta charset="<?php bloginfo('charset'); ?>">
  19. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
  20. <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold" />
  21. <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,bold" />
  22. <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Fredericka+the+Great">
  23.  
  24. <title><?php wp_title(); ?></title>
  25. <script>window.jQuery || document.write('<script src="http://code.jquery.com/jquery-1.7.2.min.js"><\/script>')</script>
  26. <?php pilotfish_head(); // head hook ?>
  27. <?php wp_head(); ?>
  28. </head>
  29.  
  30. <body <?php body_class(); ?>>
  31. <?php pilotfish_container(); // before container hook ?>
  32. <div id="container" class="hentry">
  33. <?php pilotfish_header(); // before header hook ?>
  34. <div id="header">
  35. <?php pilotfish_in_header(); // header hook ?>
  36. <?php if ( get_header_image() != '' ) : ?>
  37. <div id="logo">
  38. <span class="site-name"><a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></span>
  39. <span class="site-description"><?php bloginfo('description'); ?></span>
  40. <a href="<?php echo home_url( '/' ); ?>"><img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="<?php bloginfo('description'); ?>" /></a>
  41. </div><!-- end of #logo -->
  42. <?php endif; ?>
  43.  
  44. <?php if ( !get_header_image() ) : ?>
  45. <div id="logo">
  46. <span class="site-name"><a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></span>
  47. <span class="site-description"><?php bloginfo('description'); ?></span>
  48. </div><!-- end of #logo -->
  49. <?php endif; // header image was removed ?>
  50.  
  51. <!-- Primary Navigation Menu -->
  52. <nav id="access">
  53. <?php wp_nav_menu( array( 'theme_location' => 'primary-navigation' ) ); ?>
  54. </nav>
  55. </div><!-- end of #header -->
  56.  
  57. <?php pilotfish_header_end(); // after header hook ?>
  58. <?php pilotfish_wrapper(); // before wrapper ?>
  59. <div id="wrapper" class="clearfix">
  60.  
  61. <?php pilotfish_in_wrapper(); // wrapper hook ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement