SHARE
TWEET

header.php

mariareh64 Sep 18th, 2012 29 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head profile="http://gmpg.org/xfn/11">
  5.  
  6. <title><?php woo_title(); ?></title>
  7. <?php woo_meta(); ?>
  8. <?php global $woo_options; ?>
  9.  
  10. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
  11. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( $woo_options['woo_feed_url'] ) { echo $woo_options['woo_feed_url']; } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
  12. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  13.  
  14. <?php wp_head(); ?>
  15. <?php woo_head(); ?>
  16.  
  17. </head>
  18.  
  19. <body <?php body_class(); ?>>
  20. <?php woo_top(); ?>
  21.  
  22. <div id="wrapper">
  23.  
  24.         <?php if ( function_exists('has_nav_menu') && has_nav_menu('top-menu') ) { ?>
  25.  
  26.         <div id="top">
  27.                 <div class="col-full">
  28.                         <?php wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'top-nav', 'menu_class' => 'nav fl', 'theme_location' => 'top-menu' ) ); ?>
  29.                 </div>
  30.         </div><!-- /#top -->
  31.  
  32.     <?php } ?>
  33.  
  34.         <div id="header" class="col-full">
  35.  
  36.                 <div id="logo" class="col-left">
  37.  
  38.                 <?php if ($woo_options['woo_texttitle'] <> "true") : $logo = $woo_options['woo_logo']; ?>
  39.                         <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>">
  40.                                 <img src="<?php if ($logo) echo $logo; else { bloginfo('template_directory'); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" />
  41.                         </a>
  42.         <?php endif; ?>
  43.  
  44.         <?php if( is_singular() && !is_front_page() ) : ?>
  45.                         <span class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>
  46.         <?php else : ?>
  47.                         <h1 class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
  48.         <?php endif; ?>
  49.                         <span class="site-description"><?php bloginfo('description'); ?></span>
  50.  
  51.                 </div><!-- /#logo -->
  52.  
  53.                 <div id="navigation" class="col-right">
  54.  
  55.                         <?php
  56.                         if ( function_exists('has_nav_menu') && has_nav_menu('primary-menu') ) {
  57.                                 wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fl', 'theme_location' => 'primary-menu' ) );
  58.                         } else {
  59.                         ?>
  60.                 <ul id="main-nav" class="nav fl">
  61.                                 <?php
  62.                         if ( isset($woo_options['woo_custom_nav_menu']) AND $woo_options['woo_custom_nav_menu'] == 'true' ) {
  63.                                 if ( function_exists('woo_custom_navigation_output') )
  64.                                                 woo_custom_navigation_output();
  65.                                 } else { ?>
  66.                             <?php if ( is_home() || is_front_page() ) $highlight = "page_item current_page_item"; else $highlight = "page_item"; ?>
  67.                             <li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>"><?php _e('Home', 'woothemes') ?></a></li>
  68.                             <?php
  69.                                         wp_list_pages('sort_column=menu_order&depth=6&title_li=&exclude=');
  70.                                 }
  71.                                 ?>
  72.                 </ul><!-- /#nav -->
  73.                 <?php } ?>
  74.                 </div><!-- /#navigation -->
  75.  
  76.         </div><!-- /#header -->
  77.  
  78.         <?php if ($woo_options['woo_featured'] == 'true' && ( is_home() OR is_front_page() ) && !is_paged()) include ( TEMPLATEPATH . '/includes/featured.php' ); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top