Advertisement
Guest User

header.php

a guest
Oct 7th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--[if IE 8]> <html <?php language_attributes(); ?> class="ie8" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
  3. <!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> xmlns="http://www.w3.org/1999/xhtml"> <!--<![endif]-->
  4. <head>
  5.  
  6. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  7. <meta name="author" content="rubenbristian.com" />
  8. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  9.  
  10. <title><?php wp_title( '|', true, 'right' ); ?></title>
  11.  
  12. <link rel="profile" href="http://gmpg.org/xfn/11" />
  13. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  14.  
  15. <?php
  16.  
  17. $body_vars = (ot_get_option('rb_font_body', 'Droid+Sans') == 'Droid+Sans' ? ':400,700' : '');
  18. $heading_vars = (ot_get_option('rb_font_headings', 'Ubuntu') == 'Ubuntu' ? ':300italic,300,700,700italic' : '');
  19.  
  20. ?>
  21.  
  22. <link href='http://fonts.googleapis.com/css?family=<?php echo ot_get_option('rb_font_body', 'Droid+Sans') . $body_vars; ?>|<?php echo ot_get_option('rb_font_headings', 'Ubuntu') . $heading_vars; ?>|Droid+Serif:400italic' rel='stylesheet' type='text/css'>
  23.  
  24. <?php wp_enqueue_style('colors-css', get_template_directory_uri() . '/css/colors.css', null, null); ?>
  25. <?php wp_enqueue_style('custom-css', get_template_directory_uri() . '/css/custom.css', null, null); ?>
  26.  
  27. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  28.  
  29. <link rel="shortcut icon" type="image/x-icon" href="<?php echo ot_get_option('rb_favicon', get_template_directory_uri().'/images/favicon.ico')?>" />
  30.  
  31. <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  32.  
  33. <?php
  34.  
  35. global $responsive;
  36.  
  37. if(is_page() || is_home() || get_post_type() == 'portfolio'){
  38. wp_deregister_script('comment-reply');
  39. }
  40.  
  41. if(ot_get_option('rb_tracking_where') == 'head') echo ot_get_option('rb_tracking');
  42.  
  43. wp_head();
  44.  
  45. ?>
  46.  
  47. </head>
  48.  
  49. <body id="body" <?php body_class('page'); ?>>
  50.  
  51. <div class="header-wrapper clearfix">
  52.  
  53. <div class="header">
  54.  
  55. <div class="logo">
  56. <a id="logo" href="<?php echo home_url(); ?>">
  57. <img src="<?php echo ot_get_option('rb_logo', get_template_directory_uri().'/images/logo.png'); ?>" alt="<?php bloginfo('name'); ?>" />
  58. </a>
  59. </div>
  60.  
  61. <div id="menu" class="menu">
  62.  
  63. <?php wp_nav_menu( array(
  64. 'container' => false,
  65. 'menu_class' => 'tiny',
  66. 'echo' => true,
  67. 'before' => '',
  68. 'after' => '',
  69. 'link_before' => '',
  70. 'link_after' => '',
  71. 'depth' => 2,
  72. 'theme_location' => 'primary',
  73. 'walker' => new menu_default_walker())
  74. );
  75. ?>
  76.  
  77. </div>
  78. <div class="clear"></div>
  79.  
  80. </div>
  81.  
  82. <div class="header-light"></div>
  83.  
  84. </div>
  85.  
  86. <?php if(!is_page_template('template-slider-full.php') && !is_page_template('template-slider-fit.php')) : ?>
  87.  
  88. <div class="wrapper">
  89.  
  90. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement