Advertisement
neemmss

header

Dec 31st, 2011
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3.  
  4. <!-- BEGIN HEAD -->
  5. <head>
  6.  
  7. <!-- CHAR SET -->
  8. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  9.  
  10. <!-- TITLE -->
  11. <title><?php wp_title( '|', true, 'right' ); ?>&nbsp;<?php bloginfo('name'); ?></title>
  12.  
  13. <!-- PROFILE -->
  14. <link rel="profile" href="http://gmpg.org/xfn/11" />
  15.  
  16. <!-- STYLESHEET -->
  17. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  18.  
  19. <!-- BOOTSTRAP -->
  20. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/framework/css/bootstrap.css" type="text/css" media="screen" />
  21.  
  22. <!-- Menu -->
  23. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/framework/css/menu-css.css" type="text/css" media="screen" />
  24.  
  25. <!-- SLIDES -->
  26. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/framework/css/slides.css" type="text/css" media="screen" />
  27.  
  28. <!-- ALT STYLESHEET -->
  29. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/framework/styles/<?php echo get_option('of_alt_stylesheet'); ?>" type="text/css" media="screen" />
  30.  
  31. <!--[if IE ]>
  32. <link href="<?php bloginfo('template_url'); ?>/framework/css/ie.css" rel="stylesheet" type="text/css">
  33. <![endif]-->
  34.  
  35. <!-- GOOGLE FONTS -->
  36. <link href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700" rel="stylesheet" type="text/css">
  37. <link href="http://fonts.googleapis.com/css?family=Droid+Serif" rel="stylesheet" type="text/css">
  38. <link href="http://fonts.googleapis.com/css?family=Vibur" rel="stylesheet" type="text/css">
  39.  
  40. <!-- PINGBACK -->
  41. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  42.  
  43. <!-- THREADED COMMENTS -->
  44. <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
  45. <!-- Sticky Footer -->
  46. <!--[if !IE 7]>
  47. <style type="text/css">
  48. #wrap {display:table;height:100%}
  49. </style>
  50. <![endif]-->
  51.  
  52. <?php wp_head(); ?>
  53.  
  54. <!-- STYLE OPTIONS -->
  55. <style>
  56. <?php if ($titlebg = get_option('of_title_bg')) : ?>
  57. <?php echo 'h1#slide a,h4.ga-title a,#format-image h2.blog a {background: '.$titlebg.'}'; ?>
  58. <?php endif; ?>
  59. <?php if ($titlecolor = get_option('of_title_color')) : ?>
  60. <?php echo 'h1#slide a,h4.ga-title a,h1#slide,#format-image h2.blog a {color: '.$titlecolor.'}'; ?>
  61. <?php endif; ?>
  62. <?php if ($tagbg = get_option('of_tag_highlight')) : ?>
  63. <?php echo 'span.tag-span {background: '.$tagbg.'}'; ?>
  64. <?php endif; ?>
  65. <?php if ($tagcolor = get_option('of_tag_color')) : ?>
  66. <?php echo 'span.tag-span {color: '.$tagcolor.'}'; ?>
  67. <?php endif; ?>
  68. </style>
  69.  
  70. <!-- END HEAD -->
  71. </head>
  72.  
  73. <!-- BODY -->
  74. <body <?php body_class(); ?>>
  75.  
  76. <!-- MAIN MAIN-CONTENT -->
  77. <div class="main" id="main-content">
  78.  
  79. <!-- G960 LOGO -->
  80. <div class="g480" id="logo">
  81.  
  82. <?php if (get_option('of_text_logo') == 'true') { ?>
  83.  
  84. <h1><a href="<?php echo home_url(); ?>"><?php echo get_bloginfo( 'name' ); ?></a></h1>
  85.  
  86. <!--<p><?php echo get_bloginfo('description'); ?></p>-->
  87.  
  88. <?php } elseif (get_option('of_logo') ) { ?>
  89.  
  90. <a href="<?php echo home_url(); ?>"><img src="<?php echo get_option('of_logo'); ?>" alt="<?php echo get_bloginfo('name'); ?>" /></a>
  91.  
  92. <?php } else { ?>
  93.  
  94. <h1><a href="<?php echo home_url(); ?>"><?php echo get_bloginfo( 'name' ); ?></a></h1>
  95.  
  96. <!--<p><?php echo get_bloginfo('description'); ?></p>-->
  97.  
  98. <?php } ?>
  99.  
  100. <!-- CLEARFIX -->
  101. <div class="clearfix">
  102.  
  103. <!-- MENU -->
  104. <div class="menu">
  105.  
  106. <?php if ( $nav = get_option('of_nav') ) { ?>
  107.  
  108. <h3 class="sidebar"><?php echo stripslashes ( $nav ) ; ?></h3>
  109.  
  110. <?php } else { ?>
  111.  
  112. <h3 class="sidebar">Navigate</h3>
  113.  
  114. <?php } ?>
  115.  
  116. <?php
  117. wp_nav_menu( array(
  118. 'theme_location' => 'main-nav',
  119. 'sort_column' => 'menu_order',
  120. 'container' =>false,
  121. 'menu_class' => 'menu',
  122. 'echo' => true,
  123. 'before' => '',
  124. 'after' => '',
  125. 'link_before' => '',
  126. 'link_after' => ''
  127. )
  128. );
  129. ?>
  130.  
  131. <!-- END MENU -->
  132. </div>
  133.  
  134. <!-- END CLEARFIX -->
  135. </div>
  136.  
  137. <div class="clearfix">
  138.  
  139. <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('Sidebar Two') ) : ?><?php endif; ?>
  140.  
  141. </div>
  142.  
  143. <div class="clearfix">
  144.  
  145. <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('Sidebar Three') ) : ?><?php endif; ?>
  146.  
  147. </div>
  148.  
  149. <div class="clearfix">
  150.  
  151. <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar('Sidebar Four') ) : ?><?php endif; ?>
  152.  
  153. </div>
  154.  
  155. <!-- END G960 LOGO -->
  156. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement