Advertisement
Guest User

header

a guest
Jan 11th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.79 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. <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 elegant_titles(); ?></title>
  6. <?php elegant_description(); ?>
  7. <?php elegant_keywords(); ?>
  8. <?php elegant_canonical(); ?>
  9.  
  10. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  11. <!--[if lt IE 7]>
  12. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/ie6style.css" />
  13. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script>
  14. <script type="text/javascript">DD_belatedPNG.fix('#page-menu ul, ul#page-menu li li,#page-menu li li a:hover, ul#page-menu li.current_page_item li a:hover, #cats-menu ul, div#container-top, #featured-area .pics span.feat-overlay, #featured-area .pics div.excerpt, .new-post div.date, .mainpost-wrap div.date, div#footer, ul#cats-menu li li a, .bubble,.reply-container');</script>
  15. <script type="text/javascript">
  16. var clear="<?php bloginfo('template_directory'); ?>/images/clear.gif"
  17. </script>
  18. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/unitpngfix.js"></script>
  19. <![endif]-->
  20. <!--[if IE 7]>
  21. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/ie7style.css" />
  22. <![endif]-->
  23.  
  24. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  25. <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
  26. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  27.  
  28. <script type="text/javascript">
  29. document.documentElement.className = 'js';
  30. </script>
  31.  
  32. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  33. <?php wp_head(); ?>
  34.  
  35. </head>
  36. <body <?php if (is_home()) echo('id="home"');?> <?php body_class(); ?>>
  37. <div id="header">
  38. <div class="container">
  39. <!-- Page Menu -->
  40.  
  41. <?php $menuClass = 'nav superfish';
  42. $menuID = 'page-menu';
  43. $primaryNav = '';
  44. if (function_exists('wp_nav_menu')) {
  45. $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => $menuID, 'echo' => false ) );
  46. };
  47. if ($primaryNav == '') { ?>
  48. <ul id="<?php echo $menuID; ?>" class="<?php echo $menuClass; ?>">
  49. <?php if (get_option('glow_swap_navbar') == 'false') { ?>
  50. <?php if (get_option('glow_home_link') == 'on') { ?>
  51. <li <?php if (is_home()) echo('class="current_page_item"') ?>><a href="<?php bloginfo('url'); ?>"><?php esc_html_e('Home','Glow'); ?></a></li>
  52. <?php }; ?>
  53.  
  54. <?php show_page_menu($menuClass,false,false); ?>
  55. <?php } else { ?>
  56. <?php show_categories_menu($menuClass,false); ?>
  57. <?php } ?>
  58. </ul> <!-- end ul#nav -->
  59. <?php }
  60. else echo($primaryNav); ?>
  61.  
  62. <div class="clear"></div>
  63.  
  64. <!-- Logo -->
  65. <a href="<?php bloginfo('url'); ?>"><?php $logo = (get_option('glow_logo') <> '') ? get_option('glow_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?>
  66. <img src="<?php echo esc_url( $logo ); ?>" alt="<?php echo esc_attr(get_bloginfo('name')); ?>" id="logo" class="unitPng"/></a>
  67.  
  68. <div class="clear"></div>
  69.  
  70. <!-- Categories Menu -->
  71. <?php $menuClass = 'nav superfish';
  72. $menuID = 'cats-menu';
  73. $secondaryNav = '';
  74. if (function_exists('wp_nav_menu')) {
  75. $secondaryNav = wp_nav_menu( array( 'theme_location' => 'secondary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => $menuID, 'echo' => false ) );
  76. };
  77. if ($secondaryNav == '') { ?>
  78. <ul id="<?php echo $menuID; ?>" class="<?php echo $menuClass; ?>">
  79. <?php if (get_option('glow_swap_navbar') == 'false') { ?>
  80. <?php show_categories_menu($menuClass,false); ?>
  81. <?php } else { ?>
  82. <?php if (get_option('glow_home_link') == 'on') { ?>
  83. <li <?php if (is_home()) echo('class="current_page_item"') ?>><a href="<?php bloginfo('url'); ?>"><?php esc_html_e('Home','Glow') ?></a></li>
  84. <?php }; ?>
  85.  
  86. <?php show_page_menu($menuClass,false,false); ?>
  87. <?php } ?>
  88. </ul> <!-- end ul#nav -->
  89. <?php }
  90. else echo($secondaryNav); ?>
  91.  
  92. </div> <!-- end container -->
  93. </div> <!-- end header -->
  94.  
  95. <div id="content">
  96. <div id="container-top"></div>
  97. <div class="container<?php global $fullwidth; if ( is_page_template('page-full.php') || $fullwidth ) echo ' no_sidebar'; ?>">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement