Advertisement
Guest User

Untitled

a guest
Sep 13th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  5. <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' | '; } ?><?php bloginfo('name'); ?></title>
  6. <link rel="profile" href="http://gmpg.org/xfn/11" />
  7. <link rel="shortcut icon" href="<?php get_option_tree('favicon', '', true); ?>" />
  8. <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
  9. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  10. <!--[if IE 7 ]>
  11. <link href="<?php bloginfo('template_url'); ?>/ie7.css" media="screen" rel="stylesheet" type="text/css">
  12. <![endif]-->
  13. <!--[if IE 8 ]>
  14. <link href="<?php bloginfo('template_url'); ?>/ie8.css" media="screen" rel="stylesheet" type="text/css">
  15. <![endif]-->
  16. <!--[if lte IE 6]>
  17. <div id="ie-message">Your browser is obsolete and does not support this webpage. Please use newer version of your browser or visit <a href="http://www.ie6countdown.com/" target="_new">Internet Explorer 6 countdown page</a> for more information. </div>
  18. <![endif]-->
  19. <?php
  20. if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
  21. wp_head();
  22. ?>
  23.  
  24. <?php include 'var.php'; ?>
  25. <?php get_option_tree('analytics_code', '', true); ?>
  26. </head>
  27. <body <?php body_class(); ?>>
  28.  
  29. <!-- *******************************Logo & Menu****************************** -->
  30. <div id="horiz_m_bg">
  31. <?php get_sidebar('top') ?>
  32. <div id="horiz_m">
  33.  
  34. <div id="logo">
  35. <a href="<?php bloginfo('url'); ?>"><img src="<?php get_option_tree('logo_uploud', '', true); ?>" alt="<?php bloginfo('name'); ?>" /></a>
  36. </div><!--#logo-->
  37.  
  38. <div id="main_menu" class="slidemenu">
  39. <?php wp_nav_menu( array('theme_location' => 'primary', 'container' => false, 'fallback_cb' => false)); ?>
  40. </div><!--#main_menu-->
  41.  
  42. </div><!--#horiz_m-->
  43. </div><!--#horiz_m_bg-->
  44.  
  45. <!-- *******************************Subhead********************************** -->
  46. <div id="subheadint">
  47. <?php if (get_option_tree('disable_subhead_inner_shadows', '')) {} else {
  48. echo '<div class="subhead_shadow"></div>'; } ?>
  49. <div class="page_title">
  50. <?php if ( is_home() ) { echo '<h1 class="entry-title-page">', wp_title (''). '</h1>', breadcrumbs_plus(); }
  51. elseif ( is_search() ) { ?>
  52. <h1 class="entry-title-page"><?php $search_title = get_option_tree('search_results_for');
  53. if ($search_title){ echo $search_title . ' <span>' . get_search_query() . '</span>'; }
  54. else { printf( __( 'Search Results for: %s', 'care' ), '<span>' . get_search_query() . '</span>' );} ?>
  55. </h1>
  56. <?php breadcrumbs_plus(); ?>
  57. <?php } elseif ( is_404() ) { ?>
  58. <h1 class="entry-title-page" style="text-align:center"> <?php
  59. $title_404 = get_option_tree('title_404', '', true);
  60. if ($title_404){ $title_404; }
  61. else{ _e('Page Not Found', 'care'); }?>
  62. </h1>
  63. <?php } elseif (is_category() || is_tag() ){
  64. echo '<h1 class="entry-title-page">', single_cat_title() .'</h1>', breadcrumbs_plus(); }
  65. elseif (is_archive() ){ ?>
  66. <h1 class="entry-title-page">
  67. <?php if ( is_day() ) : ?>
  68. <?php printf( __( 'Daily Archives: <span>%s</span>', 'care' ), get_the_date() ); ?>
  69. <?php elseif ( is_month() ) : ?>
  70. <?php printf( __( 'Monthly Archives: <span>%s</span>', 'care' ), get_the_date( 'F Y' ) ); ?>
  71. <?php elseif ( is_year() ) : ?>
  72. <?php printf( __( 'Yearly Archives: <span>%s</span>', 'care' ), get_the_date( 'Y' ) ); ?>
  73. <?php else : ?>
  74. <?php _e( 'Archives', 'care' ) ?>
  75. <?php endif; ?>
  76. </h1>
  77. <?php breadcrumbs_plus(); ?>
  78. <?php } else { echo '<h1 class="entry-title-page">', the_title(). '</h1>', breadcrumbs_plus(); } ?>
  79. </div>
  80. <?php if (get_option_tree('disable_subhead_inner_shadows', '')) {} else {
  81. echo '<div class="subhead_shadow_bottom"></div>'; }?>
  82. </div>
  83.  
  84. <!-- *******************************Wrapper********************************** -->
  85. <div id="wrapper">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement