Guest User

header.php

a guest
Aug 26th, 2016
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]>
  3. <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  4. <!--[if IE 7]>
  5. <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  6. <!--[if IE 8]>
  7. <html class="no-js lt-ie9"> <![endif]-->
  8. <!--[if gt IE 8]><!-->
  9. <html <?php language_attributes(); ?>><!--<![endif]-->
  10. <head>
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  13. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>" charset="<?php bloginfo('charset'); ?>" />
  14. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>"/>
  15.  
  16. <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
  17. <?php $wl_theme_options=get_option('enigma_options_pro'); ?>
  18. <?php if($wl_theme_options['upload_image_favicon']!=''){ ?>
  19. <link rel="shortcut icon" href="<?php echo $wl_theme_options['upload_image_favicon']; ?>" />
  20. <?php } ?>
  21. <?php wp_head(); ?>
  22. </head>
  23. <?php
  24. if(get_background_image()) { ?>
  25. <body <?php body_class($wl_theme_options['layout_selector']); ?>>
  26. <?php } else { ?>
  27. <body <?php body_class($wl_theme_options['layout_selector']); ?> style='background-image: url("<?php echo WL_TEMPLATE_DIR_URI; ?>/images/bg-patterns/<?php echo $wl_theme_options['back_image']; ?>.png");'>
  28. <?php } ?>
  29. <div id="wrapper" >
  30. <!-- Header Section -->
  31. <div class="header_section">
  32. <div class="container" >
  33. <!-- Logo & Contact Info -->
  34. <div class="row ">
  35. <div class="col-md-6 col-sm-12 wl_rtl">
  36.  
  37. </div>
  38. <div class="col-md-6 col-sm-12">
  39. <ul class="head-contact-info">
  40. <?php if($wl_theme_options['contact_email']!='') { ?>
  41. <li><i class="fa fa-envelope"></i><a href="mailto:<?php echo $wl_theme_options['contact_email']; ?>"><?php echo $wl_theme_options['contact_email']; ?></a></li>
  42. <?php } if($wl_theme_options['contact_phone_no']!='') { ?>
  43. <li><i class="fa fa-phone"></i><a href="tel:<?php echo $wl_theme_options['contact_phone_no']; ?>"><?php echo $wl_theme_options['contact_phone_no']; ?></a></li>
  44. <?php } ?>
  45. </ul>
  46. <?php if($wl_theme_options['header_section_social_media_enbled']=="on") { ?>
  47. <ul class="social">
  48. <?php if($wl_theme_options['facebook_link']!='') { ?>
  49. <a href="<?php echo $wl_theme_options['facebook_link']; ?>" target="_blank"><li class="facebook" data-toggle="tooltip" data-placement="top" title="Facebook"><i class="fa fa-facebook"></i></li></a>
  50. <?php } if($wl_theme_options['twitter_link']!='') { ?>
  51. <a href="<?php echo $wl_theme_options['twitter_link']; ?>" target="_blank"><li class="twitter" data-toggle="tooltip" data-placement="top" title="Twiiter"><i class="fa fa-twitter"></i></li></a>
  52. <?php } if($wl_theme_options['dribble_link']!='') { ?>
  53. <a href="<?php echo $wl_theme_options['dribble_link']; ?>" target="_blank"><li class="dribbble" data-toggle="tooltip" data-placement="top" title="Dribble"><i class="fa fa-dribbble"></i></li></a>
  54. <?php } if($wl_theme_options['linkedin_link']!='') { ?>
  55. <a href="<?php echo $wl_theme_options['linkedin_link']; ?>" target="_blank"><li class="linkedin" data-toggle="tooltip" data-placement="top" title="Linkedin"><i class="fa fa-linkedin"></i></li></a>
  56. <?php } if($wl_theme_options['youtube_link']!='') { ?>
  57. <a href="<?php echo $wl_theme_options['youtube_link']; ?>" target="_blank"><li class="youtube" data-toggle="tooltip" data-placement="top" title="Youtube"><i class="fa fa-youtube"></i></li></a>
  58. <?php } if($wl_theme_options['google_plus']!='') { ?>
  59. <a href="<?php echo $wl_theme_options['google_plus']; ?>" target="_blank"><li class="Googleplus" data-toggle="tooltip" data-placement="bottom" title="Googleplus"><i class="fa fa-google"></i></li></a>
  60. <?php } if($wl_theme_options['flicker_link']!='') { ?>
  61. <a href="<?php echo $wl_theme_options['flicker_link']; ?>" target="_blank"><li class="flicker" data-toggle="tooltip" data-placement="bottom" title="Flicker"><i class="fa fa-flickr"></i></li></a>
  62. <?php } if($wl_theme_options['instagram_link']!='') { ?>
  63. <a href="<?php echo $wl_theme_options['instagram_link']; ?>" target="_blank"><li class="instagram" data-toggle="tooltip" data-placement="bottom" title="Instagram"><i class="fa fa-instagram"></i></li></a>
  64. <?php } ?>
  65. </ul>
  66. <?php } ?>
  67. </div>
  68. </div>
  69. <!-- /Logo & Contact Info -->
  70. </div>
  71. </div>
  72. <!-- /Header Section -->
  73. <!-- Navigation menus -->
  74. <div class="navigation_menu " data-spy="affix" data-offset-top="95" id="<?php if($wl_theme_options['header_position']=='fixed') { echo "enigma_nav_top"; } ?>">
  75. <span id="header_shadow"></span>
  76. <div class="container navbar-container" >
  77. <nav class="navbar navbar-default " role="navigation">
  78. <div class="navbar-header">
  79. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
  80. <span class="sr-only"><?php _e('Toggle navigation','weblizar'); ?></span>
  81. <span class="icon-bar"></span>
  82. <span class="icon-bar"></span>
  83. <span class="icon-bar"></span>
  84. </button>
  85. </div>
  86. <div claSS="col-md-3 logo">
  87. <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
  88. <?php
  89. if($wl_theme_options['upload_image_logo']!='')
  90. { ?>
  91. <img class="img-responsive" src="<?php echo $wl_theme_options['upload_image_logo']; ?>" style="height:<?php if($wl_theme_options['height']!='') { echo $wl_theme_options['height']; } else { "50"; } ?>px; width:<?php if($wl_theme_options['width']!='') { echo $wl_theme_options['width']; } else { "180"; } ?>px;" />
  92. <?php } else { echo get_bloginfo('name'); } ?>
  93. </a>
  94. <p><?php bloginfo( 'description' ); ?></p>
  95. </div>
  96. <div id="menu" class="col-md-9 collapse navbar-collapse ">
  97. <?php wp_nav_menu( array(
  98. 'theme_location' => 'primary',
  99. 'menu_class' => 'nav navbar-nav',
  100. 'fallback_cb' => 'weblizar_fallback_page_menu',
  101. 'walker' => new weblizar_nav_walker(),
  102. )
  103. ); ?>
  104. </div>
  105. </nav>
  106. </div>
  107. </div>
  108. <!-- /Navigation menus -->
Add Comment
Please, Sign In to add comment