Guest User

header.php

a guest
Sep 23rd, 2016
50
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]>
  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. <div claSS="logo">
  37. <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
  38. <?php
  39. if($wl_theme_options['upload_image_logo']!='')
  40. { ?>
  41. <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;" />
  42. <?php } else { echo get_bloginfo('name'); } ?>
  43. </a>
  44. <p><?php bloginfo( 'description' ); ?></p>
  45. </div>
  46. </div>
  47. <div class="col-md-6 col-sm-12">
  48. <ul class="head-contact-info">
  49. <?php if($wl_theme_options['contact_email']!='') { ?>
  50. <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>
  51. <?php } if($wl_theme_options['contact_phone_no']!='') { ?>
  52. <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>
  53. <?php } ?>
  54. </ul>
  55. <?php if($wl_theme_options['header_section_social_media_enbled']=="on") { ?>
  56. <ul class="social">
  57. <?php if($wl_theme_options['facebook_link']!='') { ?>
  58. <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>
  59. <?php } if($wl_theme_options['twitter_link']!='') { ?>
  60. <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>
  61. <?php } if($wl_theme_options['dribble_link']!='') { ?>
  62. <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>
  63. <?php } if($wl_theme_options['linkedin_link']!='') { ?>
  64. <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>
  65. <?php } if($wl_theme_options['youtube_link']!='') { ?>
  66. <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>
  67. <?php } if($wl_theme_options['google_plus']!='') { ?>
  68. <a href="<?php echo $wl_theme_options['google_plus']; ?>" target="_blank"><li class="mail" data-toggle="tooltip" data-placement="bottom" title="Email"><i class="fa fa-envelope"></i></li></a>
  69. <?php } if($wl_theme_options['flicker_link']!='') { ?>
  70. <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>
  71. <?php } if($wl_theme_options['instagram_link']!='') { ?>
  72. <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>
  73. <?php } ?>
  74. </ul>
  75. <?php } ?>
  76. </div>
  77. </div>
  78. <!-- /Logo & Contact Info -->
  79. </div>
  80. </div>
  81. <!-- /Header Section -->
  82. <!-- Navigation menus -->
  83. <div class="navigation_menu " data-spy="affix" data-offset-top="95" id="<?php if($wl_theme_options['header_position']=='fixed') { echo "enigma_nav_top"; } ?>">
  84. <span id="header_shadow"></span>
  85. <div class="container navbar-container" >
  86. <nav class="navbar navbar-default " role="navigation">
  87. <div class="navbar-header">
  88. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
  89. <span class="sr-only"><?php _e('Toggle navigation','weblizar'); ?></span>
  90. <span class="icon-bar"></span>
  91. <span class="icon-bar"></span>
  92. <span class="icon-bar"></span>
  93. </button>
  94. </div>
  95. <div id="menu" class="collapse navbar-collapse ">
  96. <?php wp_nav_menu( array(
  97. 'theme_location' => 'primary',
  98. 'menu_class' => 'nav navbar-nav',
  99. 'fallback_cb' => 'weblizar_fallback_page_menu',
  100. 'walker' => new weblizar_nav_walker(),
  101. )
  102. ); ?>
  103. </div>
  104. </nav>
  105. </div>
  106. </div>
  107. <!-- /Navigation menus -->
Add Comment
Please, Sign In to add comment