Advertisement
Guest User

Untitled

a guest
Jan 30th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. <!DOCTYPE html >
  2. <!--[if lt IE 7 ]> <html class="no-js ie6" <?php language_attributes(); ?>> <![endif]-->
  3. <!--[if IE 7 ]> <html class="no-js ie7" <?php language_attributes(); ?>> <![endif]-->
  4. <!--[if IE 8 ]> <html class="no-js ie8" <?php language_attributes(); ?>> <![endif]-->
  5. <!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
  6.  
  7. <head>
  8.  
  9. <?php if(function_exists(updateHeader)) updateHeader(); ?>
  10.  
  11. <title><?php
  12. /*
  13. * Print the <title> tag based on what is being viewed.
  14. */
  15. global $page, $paged;
  16.  
  17. wp_title( '|', true, 'right' );
  18.  
  19. // Add the blog name.
  20. bloginfo( 'name' );
  21.  
  22. // Add the blog description for the home/front page.
  23. $site_description = get_bloginfo( 'description', 'display' );
  24. if ( $site_description && ( is_home() || is_front_page() ) )
  25. echo " | $site_description";
  26.  
  27. // Add a page number if necessary:
  28. if ( $paged >= 2 || $page >= 2 )
  29. echo ' | ' . sprintf( __( 'Page %s', 'mdnw' ), max( $paged, $page ) );
  30.  
  31. ?></title>
  32.  
  33. <meta charset="utf-8">
  34.  
  35. <?php $theme_options = get_option('option_tree'); ?>
  36. <?php wp_head(); ?>
  37.  
  38. <!-- Mobile Specific Metas
  39. ================================================== -->
  40. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  41.  
  42. <link rel="profile" href="http://gmpg.org/xfn/11" />
  43. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
  44. <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
  45. <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
  46. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  47.  
  48.  
  49.  
  50. <!-- CSS
  51. ================================================== -->
  52. <!-- Load the basic skeleton and plugin CSS, then the main theme stylesheet -->
  53. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/base.css" />
  54. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/skeleton.css" />
  55. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/comments.css" />
  56. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/buttons.css" />
  57. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/ui.totop.css" />
  58. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/superfish.css" />
  59. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/flexslider.css" />
  60. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/javascripts/chosen/chosen.css" />
  61.  
  62. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/javascripts/prettyPhoto/css/prettyPhoto.css" />
  63.  
  64. <!-- Alternate rLightbox
  65. <link type="text/css" rel="stylesheet" href="< ?php echo get_template_directory_uri(); ?>/assets/javascripts/rlightbox_css/ui-lightness/jquery-ui-1.8.16.custom.css" />
  66. <link type="text/css" rel="stylesheet" href="< ?php echo get_template_directory_uri(); ?>/assets/javascripts/rlightbox_css/lightbox.min.css" />
  67. -->
  68.  
  69. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/styles.css" />
  70.  
  71.  
  72. <!-- Load the font stack from the Options Panel -->
  73. <?php if (get_option_tree('default_fontstack') == 'Serif') { ?>
  74. <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/typography-serif.css" />
  75. <?php } else { ?>
  76. <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/typography-sans.css" />
  77. <?php } ?>
  78.  
  79. <!-- Load the default skin from the Options Panel -->
  80. <?php $lightdark = '-lightbg';
  81.  
  82. if (get_option_tree('default_skin') == 'Dark') { ?>
  83. <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/skin-dark.css" />
  84. <?php $lightdark = '-darkbg'; ?>
  85. <?php } else if (get_option_tree('default_skin') == 'Clean') { ?>
  86. <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/skin-clean.css" />
  87.  
  88. <?php } else {} ?>
  89.  
  90. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/style.css" />
  91.  
  92.  
  93. <!-- Favicons, StyleLoader, and basic WP stuff
  94. ================================================== -->
  95. <link rel="shortcut icon" href="<?php echo get_option_tree('favicon'); ?>" type="image/gif" />
  96.  
  97. <?php get_template_part( 'element', 'styleloader' ); ?>
  98.  
  99. <?php if ( ! isset( $content_width ) )
  100. $content_width = 960;
  101. ?>
  102.  
  103. </head>
  104.  
  105.  
  106. <!-- Start the Markup
  107. ================================================== -->
  108. <body <?php body_class(); ?> >
  109.  
  110.  
  111. <?php if (get_option_tree('top_hat') == 'Yes') { ?>
  112. <?php get_template_part( 'element', 'tophat' ); ?>
  113. <?php } ?>
  114.  
  115. <!-- Super Container for entire site -->
  116.  
  117.  
  118. <!-- 960 Container -->
  119. <div class="container">
  120.  
  121. <!-- Header -->
  122. <header>
  123. <div class="sixteen columns">
  124.  
  125. <!-- Branding -->
  126. <div class="five columns alpha">
  127. <a href="<?php echo home_url(); ?>/" title="<?php echo bloginfo('blog_name'); ?>">
  128. <h1 id="logo">
  129. <?php $logopath = (get_option_tree('logo')) ? get_option_tree('logo') : WP_THEME_URL . "/assets/images/theme/logo/logo$lightdark.png"; ?>
  130. <img id="logotype" src="<?php echo $logopath; ?>" alt="<?php echo bloginfo('blog_name'); ?>" />
  131. </h1>
  132. </a>
  133. </div>
  134. <!-- /End Branding -->
  135.  
  136. <div class="eleven columns omega">
  137. <?php get_template_part( 'element', 'navigation' ); ?>
  138. </div>
  139.  
  140. <hr class="remove-bottom"/>
  141. </div>
  142.  
  143.  
  144. </header>
  145. <!-- /End Header -->
  146.  
  147.  
  148. <!-- End 960 Container -->
  149.  
  150.  
  151. <!-- End SuperContainer -->
  152.  
  153.  
  154. <!-- ============================================== -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement