Guest User

Untitled

a guest
Aug 21st, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage PulsePress
  5. */
  6. ?>
  7. <!doctype html>
  8. <!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
  9. <!--[if IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
  10. <!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
  11. <!--[if IE 9 ]> <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]-->
  12. <!--[if (gt IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?> class="no-js"> <!--<![endif]-->
  13. <head>
  14. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  15. <meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" />
  16. <title>
  17. <?php
  18. /*
  19. * Print the <title> tag based on what is being viewed.
  20. */
  21. global $page, $paged;
  22.  
  23. wp_title( '|', true, 'right' );
  24.  
  25. // Add the blog name.
  26. bloginfo( 'name' );
  27.  
  28. // Add the blog description for the home/front page.
  29. $site_description = get_bloginfo( 'description', 'display' );
  30. if ( $site_description && ( is_home() || is_front_page() ) )
  31. echo " | $site_description";
  32.  
  33. // Add a page number if necessary:
  34. if ( $paged >= 2 || $page >= 2 )
  35. echo ' | ' . sprintf( __( 'Page %s', 'pulse_press' ), max( $paged, $page ) );
  36.  
  37. ?>
  38. </title>
  39. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  40. <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
  41.  
  42. <meta name="HandheldFriendly" content="True" />
  43. <meta name="MobileOptimized" content="320"/>
  44. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  45.  
  46. <?php wp_head(); ?>
  47.  
  48. </head>
  49. <body <?php body_class(); ?>>
  50. <div id="shell">
  51. <div id="header">
  52.  
  53. <div class="sleeve">
  54. <h1><a href="<?php echo home_url(); ?>/"><?php bloginfo( 'name' ); ?></a></h1>
  55. <?php if ( get_bloginfo( 'description' ) ) : ?>
  56. <small><?php bloginfo( 'description' ); ?></small>
  57. <?php endif; ?>
  58.  
  59. </div>
  60. <div id="access" role="navigation">
  61. <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
  62. <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'pulse_press' ); ?>"><?php _e( 'Skip to content', 'pulse_press' ); ?></a></div>
  63. <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
  64. <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary') ); ?>
  65. </div><!-- #access -->
  66. </div>
  67.  
  68. <div id="wrapper">
Advertisement
Add Comment
Please, Sign In to add comment