Advertisement
Guest User

Untitled

a guest
May 16th, 2011
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 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">
  3. <head>
  4.  
  5. <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
  6.  
  7. <?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  8. <meta name="description" content="<?php essolutionsMetaDescription(); ?>" />
  9. <?php essolutionsMetaTags(); ?>
  10. <?php endwhile; endif; elseif(is_home()) : ?>
  11. <meta name="description" content="<?php if(get_option('es_site_description')) { echo stripslashes(get_option('es_site_description')); } else { bloginfo('description'); } ?>" />
  12. <meta name="keywords" content="<?php if(get_option('es_site_keywords')) { echo stripslashes(get_option('es_site_keywords')); } else { echo 'wordpress premium magazine, wordpress blog, news'; } ?>" />
  13. <?php endif; ?>
  14.  
  15. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  16. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
  17.  
  18. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('es_feedburner_url') <> "" ) { echo get_option('es_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
  19. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  20.  
  21. <?php wp_head(); ?>
  22. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/includes/js/cufon-yui.js"></script>
  23. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/includes/js/Quicksand_Book_400.font.js"></script>
  24.  
  25.  
  26. <script type="text/javascript">
  27. Cufon.replace('h3,h2,h4,h5,h6,h1');
  28. </script>
  29.  
  30. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/tabs.css" />
  31. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/includes/js/tabs.js"></script>
  32. <script type="text/javascript">
  33. $(window).load(function() {
  34. $('#tabs').tabs();
  35.  
  36. });
  37. </script>
  38.  
  39.  
  40. <?php if (is_home()){?> <!-- include the featured slider code just in the home page -->
  41.  
  42. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/nivo-slider.css" />
  43. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/includes/js/jquery.nivo.slider.pack.js"></script>
  44. <?php include (TEMPLATEPATH . '/includes/js/slider.php'); ?>
  45.  
  46. <?php }?>
  47.  
  48.  
  49. </head>
  50.  
  51. <body>
  52.  
  53.  
  54. <div id="wrap">
  55.  
  56. <div id="top-header"> <!-- top navigation bar -->
  57.  
  58. <div id="top-header-left">
  59. <?php wp_nav_menu( array('theme_location' => 'primary', 'menu_id' => 'nav-pages', 'container' =>'' ) ); ?>
  60. </div><!--end header-left -->
  61.  
  62. <div id="top-header-right">
  63. <?php include (TEMPLATEPATH . '/searchform.php'); ?>
  64. </div><!--end header-right -->
  65.  
  66. </div><!--end header-->
  67.  
  68.  
  69. <div class="clear"></div>
  70.  
  71.  
  72. <div id="header"><!-- header -->
  73.  
  74. <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>">
  75. <img src="<?php if ( get_option('es_logo') <> "" ) { echo get_option('es_logo'); } else { ?>
  76. <?php bloginfo('stylesheet_directory'); ?>/<?php es_style_path(); ?>/logo.gif<?php } ?>" alt="<?php bloginfo('name'); ?>" width="384" height="100" /></a></h1>
  77.  
  78.  
  79. <!-- top adv -->
  80. <?php if (get_option('es_top_ad_image') != "") include (TEMPLATEPATH . "/adv/top-adv.php"); ?>
  81. <!-- end top adv -->
  82.  
  83. </div><!-- end header -->
  84.  
  85. <!-- category nav -->
  86. <?php wp_nav_menu( array( 'theme_location' => 'secondary' , 'menu_id' => 'cat-nav', 'container' =>'' ) ); ?>
  87.  
  88.  
  89.  
  90. <div id="main-column"><!-- main column -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement