SHARE
TWEET

header.php

a guest Sep 3rd, 2016 22 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!doctype html>
  2. <head>
  3.     <html <?php language_attributes(); ?>
  4.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">  
  6.     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>" charset="<?php bloginfo('charset'); ?>" />
  7.     <title><?php wp_title( '|', true, 'right' ); ?></title>
  8.     <?php $gnrl_theme_options = chronicle_gnrl_options(); ?>
  9.     <?php if($gnrl_theme_options['upload_image_favicon']!=''){ ?>
  10.     <link rel="shortcut icon" href="<?php  echo esc_url($gnrl_theme_options['upload_image_favicon']); ?>" />
  11.     <?php } wp_head(); ?>
  12. </head>
  13. <?php $skin_options = chronicle_skin_options();
  14.     $back_image = $skin_options['back_image'];
  15.     if($skin_options['layout_type']=="off") { ?>
  16. <body style='background-image: url("<?php echo WL_TEMPLATE_DIR_URI; ?>/images/elements/<?php echo $skin_options['back_image']; ?>.png");' >
  17. <?php } else { ?>
  18. <body <?php body_class(); ?>>
  19. <?php } ?>
  20. <div class="wrapper_boxed">
  21. <header id="header" data-spy="affix" data-offset-top="95"> 
  22.     <div id="trueHeader">    
  23.     <div class="wrapper">
  24.     <div class="logoarea" <?php if(get_header_image()!=""){ echo 'style="background:url('.get_header_image().')";';}?>>
  25.     <div class="container">    
  26.     <!-- Logo -->
  27.     <div class="logo">     
  28.         <?php if(display_header_text()){ ?>
  29.             <a href="<?php echo home_url( '/' ); ?>" id="logo" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
  30.                 <?php if($gnrl_theme_options['upload_image_logo']!=''){ ?>
  31.                 <img src="<?php echo $gnrl_theme_options['upload_image_logo']; ?>" height="<?php if($gnrl_theme_options['height']!='') { echo $gnrl_theme_options['height']; }  else { echo 80; } ?>px" width="<?php if($gnrl_theme_options['width']!='') { echo (int)$gnrl_theme_options['width']; }  else { echo 200; } ?>px" /><?php
  32.             }else{ echo '<span style="color:#'.get_header_textcolor().'">'.get_bloginfo('name').'</span>';                     
  33.             } ?></a>
  34.             <?php } ?>
  35.     </div>
  36.     <?php $social_options= chronicle_social_options();
  37.         $contact_options = chronicle_contact_options(); ?>
  38.     <div class="right_links">        
  39.         <ul><?php if($contact_options['contact_email']!='') { ?>
  40.             <li class="link"><a  href="mailto:<?php echo $contact_options['contact_email']; ?>"><i class="fa fa-envelope"></i> <?php echo $contact_options['contact_email']; ?></a></li>
  41.             <?php } if($contact_options['contact_phone_no']!='') { ?>
  42.             <li class="link"><a  href="#"><i class="fa fa-phone"></i> + <?php echo $contact_options['contact_phone_no']; ?></a></li>
  43.             <?php }
  44.             if($social_options['header_section_social_media_enbled']== 'on') {
  45.                 if($social_options['facebook_link']!= '') { ?>
  46.                     <li class="social" data-anim-type="zoomIn"><a href="<?php echo $social_options['facebook_link']; ?>"><i class="fa fa-facebook"></i></a></li>
  47.                 <?php  }  if($social_options['twitter_link']!= '') { ?>
  48.                     <li class="social" data-anim-type="zoomIn"><a href="<?php echo $social_options['twitter_link']; ?>"><i class="fa fa-twitter"></i></a></li>
  49.                 <?php  }  if($social_options['google_plus']!= '') { ?>
  50.                     <li class="social" data-anim-type="zoomIn"><a href="<?php echo $social_options['google_plus']; ?>"><i class="fa fa-google-plus"></i></a></li>
  51.                 <?php  }  if($social_options['linkedin_link']!= '') { ?>
  52.                     <li class="social" data-anim-type="zoomIn"><a href="<?php echo $social_options['linkedin_link']; ?>"><i class="fa fa-linkedin"></i></a></li>
  53.                 <?php  }  if($social_options['flicker_link']!= '') { ?>                
  54.                     <li class="social" data-anim-type="zoomIn"><a href="<?php echo $social_options['flicker_link']; ?>"><i class="fa fa-flickr"></i></a></li>
  55.                 <?php  }  if($social_options['youtube_link']!= '') { ?>            
  56.                     <li class="social" data-anim-type="zoomIn"><a href="<?php echo $social_options['youtube_link']; ?>"><i class="fa fa-youtube"></i></a></li>
  57.                 <?php  }  if($social_options['rss_link']!= '') { ?>
  58.                     <li class="social" data-anim-type="zoomIn"><a href="<?php echo $social_options['rss_link']; ?>"><i class="fa fa-rss"></i></a></li>
  59.                 <?php  } ?>
  60.                 <li class="social" data-anim-type="zoomIn"><a href="https://vimeo.com/planetario"><i class="fa fa-vimeo-square"></i></a></li>
  61.             <?php } ?>
  62.         </ul>        
  63.     </div><!-- end right links -->
  64.     </div>
  65.     </div>     
  66.     <!-- Menu -->
  67.     <div class="menu_main">    
  68.     <div class="container">        
  69.     <div class="navbar yamm navbar-default">    
  70.     <div class="container">
  71.       <div class="navbar-header">
  72.         <div class="navbar-toggle .navbar-collapse .pull-right " data-toggle="collapse" data-target="#navbar-collapse-1"  > <span>Menu</span>
  73.           <button type="button" > <i class="fa fa-bars"></i></button>
  74.         </div>
  75.       </div>      
  76.       <div id="navbar-collapse-1" class="navbar-collapse collapse">
  77.         <?php
  78.             wp_nav_menu( array(  
  79.                 'theme_location' => 'primary',
  80.                 'container'  => '',
  81.                 'menu_class' => 'nav navbar-nav',
  82.                 'fallback_cb' => 'weblizar_fallback_page_menu',
  83.                 'walker' => new weblizar_nav_walker()
  84.             )); ?>
  85.       </div>     
  86.       </div>
  87.      </div>    
  88.     </div>
  89.     </div><!-- end menu -->        
  90.     </div>    
  91.     </div>    
  92. </header>
  93. <div class="clearfix"></div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top