timfurnish

header.php

Mar 5th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.53 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  4.     <head profile="http://gmpg.org/xfn/11">
  5.         <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  6.        
  7.         <?php do_action('favicon') ?>
  8.        
  9.         <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
  10.        
  11.         <?php do_action( 'bp_head' ) ?>
  12.         <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  13.         <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  14.     <!--    <script type="text/javascript" src="http://use.typekit.com/aia3umw.js"></script>
  15.         <script type="text/javascript">try{Typekit.load();}catch(e){}</script> -->
  16.         <?php wp_head(); ?>
  17.     </head>
  18.  
  19.     <body <?php body_class() ?> id="cc">
  20.  <div id="outerrim">
  21.  
  22.     <?php do_action( 'bp_before_header' ) ?>
  23.    
  24.     <div id="header">  
  25.    
  26.         <?php wp_nav_menu( array( 'container_class' => 'menu menu-top', 'theme_location' => 'menu_top','container' => 'div', 'fallback_cb' => false ) ); ?>
  27.    
  28.         <?php if( ! dynamic_sidebar( 'headerfullwidth' )) :?>
  29.         <?php endif; ?>
  30.  
  31.         <?php if (is_active_sidebar('headerleft') ){ ?>
  32.             <div class="widgetarea cc-widget">
  33.                 <?php dynamic_sidebar( 'headerleft' )?>
  34.             </div>
  35.         <?php } ?>
  36.  
  37.         <?php if (is_active_sidebar('headercenter') ){ ?>
  38.             <div <?php if(!is_active_sidebar('headerleft')) { echo 'style="margin-left:350px !important"'; } ?> class="widgetarea cc-widget">
  39.                 <?php dynamic_sidebar( 'headercenter' ) ?>
  40.             </div>
  41.         <?php } ?>
  42.  
  43.         <?php if (is_active_sidebar('headerright') ){ ?>
  44.             <div class="widgetarea cc-widget cc-widget-right">
  45.                 <?php dynamic_sidebar( 'headerright' ) ?>
  46.             </div>
  47.         <?php } ?>
  48.        
  49.         <?php do_action( 'bp_before_access')?>
  50.                
  51.         <div id="access">
  52.             <div class="menu">
  53.    
  54.                 <?php do_action('bp_menu') ?>
  55.  
  56.                 <?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.  */ ?>
  57.                 <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary','container' => '' ) ); ?>
  58.  
  59.             </div>
  60.         </div>
  61.        
  62.         <?php do_action( 'bp_after_header_nav' ) ?>
  63.        
  64.         <div class="clear"></div>
  65.    
  66.     </div><!-- #header -->
  67.  
  68.     <?php do_action( 'bp_after_header' ) ?>    
  69.     <?php do_action( 'bp_before_container' ) ?>
  70.  
  71.     <div id="container">
  72.     <?php do_action('sidebar_left');?>
Advertisement
Add Comment
Please, Sign In to add comment