Guest User

Header

a guest
Nov 5th, 2012
312
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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">
  3. <head profile="http://gmpg.org/xfn/11">
  4. <?php global $woo_options; ?>
  5.  
  6. <title><?php woo_title(); ?></title>
  7. <?php woo_meta(); ?>
  8.  
  9. <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen, projection" />
  10. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php $GLOBALS['feedurl'] = $woo_options['woo_feed_url']; if ( ! empty( $feedurl ) ) { echo $feedurl; } else { echo get_bloginfo_rss( 'rss2_url' ); } ?>" />
  11. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  12.  
  13. <!--[if lt IE 7]>
  14. <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/ie.css" type="text/css" media="screen, projection">
  15. <![endif]-->
  16.  
  17. <?php if ( is_singular() ) { wp_enqueue_script('comment-reply'); } ?>
  18.  
  19. <?php wp_head(); ?>
  20.  
  21. </head>
  22.  
  23. <body <?php body_class(); ?>>
  24.  
  25. <div class="container">
  26.  
  27. <div id="header" class="column span-14">
  28.  
  29. <div id="logo" class="column first">
  30.  
  31.  
  32. <?php if ($woo_options['woo_texttitle'] == 'false' ) { $logo = $woo_options['woo_logo'];
  33. if ( ! empty( $logo ) ) { ?>
  34. <a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo( 'description' ); ?>">
  35. <img src="<?php echo $logo; ?>" alt="<?php bloginfo( 'name' ); ?>" />
  36. </a>
  37. <?php }
  38. } else { ?>
  39. <div class="title">
  40. <?php if( is_singular() ) { ?>
  41. <span class="site-title"><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></span>
  42. <?php } else { ?>
  43. <h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
  44. <?php } ?>
  45. <div class="site-description desc"><?php bloginfo( 'description' ); ?></div>
  46. </div>
  47. <?php } ?>
  48.  
  49. </div>
  50.  
  51. <div id="search_menu" class="column span-6 border_left last push-0">
  52.  
  53. <div id="search" class="column first">
  54. <h3 class="mast4"><?php _e( 'Search', 'woothemes' ); ?></h3>
  55.  
  56. <div id="search-form">
  57. <form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
  58.  
  59. <div><label for="s" class="none"><?php _e( 'Search for','woothemes' ); ?>:</label>
  60. <input type="text" name="s" id="s" class="search_input" value="<?php the_search_query(); ?>" />
  61.  
  62. <label for="searchsubmit" class="none"><?php _e( 'Go','woothemes' ); ?></label>
  63. <input type="submit" id="searchsubmit" class="submit_input" value="Search" /></div>
  64.  
  65. </form>
  66. </div>
  67. </div>
  68.  
  69. <ul id="menu">
  70.  
  71. <?php
  72.  
  73. $links = array( 'home', 'about', 'archives', 'subscribe', 'contact' );
  74.  
  75. foreach ( $links as $curlink ) {
  76.  
  77. $link = trim( $woo_options['woo_nav_'.$curlink] );
  78.  
  79. if ( ( $link != '' ) && ( $link != '#' ) ) {
  80.  
  81. echo '<li><span class="' . $curlink . '"><a href="' . $woo_options['woo_nav_'.$curlink] . '">'.__( ucfirst($curlink ),'woothemes' ) . '</a></span></li>'."\n";
  82.  
  83. }
  84.  
  85. }
  86.  
  87. ?>
  88.  
  89. </ul>
  90.  
  91. </div>
  92.  
  93. </div>
  94. <div class="clear"></div>
  95.  
  96. <?php // Only supports WordPress Menus
  97. if ( function_exists( 'has_nav_menu' ) && has_nav_menu( 'primary-menu' ) ) { ?>
  98. <div id="navigation" class="col-full">
  99. <?php
  100. wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fl', 'theme_location' => 'primary-menu' ) );
  101. ?>
  102. <ul class="rss fr">
  103. <?php $email = $woo_options['woo_subscribe_email']; if ( $email ) { ?>
  104. <li class="sub-email"><a href="<?php echo $email; ?>" target="_blank"><?php _e('Subscribe by Email', 'woothemes') ?></a></li>
  105. <?php } ?>
  106. <li class="sub-rss"><a href="<?php if ( $GLOBALS['feedurl'] ) { echo $GLOBALS['feedurl']; } else { echo get_bloginfo_rss( 'rss2_url' ); } ?>"><?php _e( 'Subscribe to RSS', 'woothemes' ); ?></a></li>
  107. </ul>
  108.  
  109. </div><!-- /#navigation -->
  110. <?php
  111. }
  112. ?>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×