Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

header.php Horrible Linedy WP Theme

By: a guest on May 15th, 2012  |  syntax: PHP  |  size: 2.87 KB  |  views: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php global $theme; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?php function wp_initialize_the_theme() { if (!function_exists("wp_initialize_the_theme_load") || !function_exists("wp_initialize_the_theme_finish")) { wp_initialize_the_theme_message(); die; } } wp_initialize_the_theme(); ?>
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <title><?php $theme->meta_title(); ?></title>
  6. <?php $theme->hook('meta'); ?>
  7. <link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/reset.css" type="text/css" media="screen, projection" />
  8. <link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/defaults.css" type="text/css" media="screen, projection" />
  9. <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
  10.  
  11. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen, projection" />
  12.  
  13. <?php if ( is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
  14. <?php  wp_head(); ?>
  15. <?php $theme->hook('head'); ?>
  16.  
  17. </head>
  18.  
  19. <body <?php body_class(); ?>>
  20. <?php $theme->hook('html_before'); ?>
  21.  
  22. <div id="container">
  23.  
  24.     <div id="header">
  25.    
  26.         <div class="logo">
  27.         <?php if ($theme->get_option('themater_logo_source') == 'image') { ?>
  28.             <a href="<?php echo home_url(); ?>"><img src="<?php $theme->option('logo'); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" /></a>
  29.         <?php } else { ?>
  30.             <?php if($theme->display('site_title')) { ?>
  31.                 <h1 class="site_title"><a href="<?php echo home_url(); ?>"><?php $theme->option('site_title'); ?></a></h1>
  32.             <?php } ?>
  33.            
  34.             <?php if($theme->display('site_description')) { ?>
  35.                 <h2 class="site_description"><?php $theme->option('site_description'); ?></h2>
  36.             <?php } ?>
  37.         <?php } ?>
  38.         </div><!-- .logo -->
  39.  
  40.         <div class="header-right">
  41.        
  42.             <div id="topsearch">
  43.                 <?php get_search_form(); ?>
  44.             </div>
  45.            
  46.             <div id="top-social-profiles">
  47.                 <?php $theme->hook('social_profiles'); ?>
  48.             </div>
  49.            
  50.         </div><!-- .header-right -->
  51.        
  52.     </div><!-- #header -->
  53.    
  54.     <?php if($theme->display('menu_primary')) { ?>
  55.         <div class="clearfix">
  56.             <?php $theme->hook('menu_primary'); ?>
  57.         </div>
  58.     <?php } ?>
  59.    
  60.     <?php if($theme->display('menu_secondary')) { ?>
  61.         <div class="clearfix">
  62.             <?php $theme->hook('menu_secondary'); ?>
  63.         </div>
  64.     <?php } ?>