Guest User

Untitled

a guest
Sep 5th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4. <meta meta charset="<?php bloginfo( 'charset' ); ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <?php $scorline_theme_options = scorline_get_options(); ?>
  8. <?php wp_head(); ?>
  9. </head>
  10. <?php if($scorline_theme_options['custom_bg']=='on') { ?>
  11. <body <?php body_class(); ?>>
  12. <?php } else{ ?>
  13. <body <?php body_class(); ?> <?php if($scorline_theme_options['theme_bg']){ ?> style="background:url('<?php echo $scorline_theme_options['theme_bg']; ?>') repeat fixed;" <?php } ?>>
  14. <?php } ?>
  15. <div id="wrapper" class="<?php echo $scorline_theme_options['theme_layout']; ?>">
  16. <div class="container-fluid scoreline-header">
  17. <div class="container">
  18. <div class="row sc-header">
  19. <div class="col-sm-7 header">
  20. <a href="<?php echo esc_url(home_url( '/' )); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
  21. <?php if($scorline_theme_options['upload_image_logo']){ ?>
  22. <img src="<?php echo $scorline_theme_options['upload_image_logo']; ?>" style="height:<?php if($scorline_theme_options['height']!='') { echo $scorline_theme_options['height']; } else { "80"; } ?>px; width:<?php if($scorline_theme_options['width']!='') { echo $scorline_theme_options['width']; } else { "150"; } ?>px;" alt="<?php echo get_bloginfo('name'); ?>"/>
  23. <?php } else { ?>
  24. <h1><?php echo get_bloginfo('name'); ?> </h1>
  25. <?php } ?>
  26. </a>
  27. </div>
  28. <div class="col-sm-5 header-social">
  29. <?php if($scorline_theme_options['email_id'] || $scorline_theme_options['phone_no'] !='') { ?>
  30. <?php if($scorline_theme_options['email_id'] !='') { ?>
  31. <a class="mail" href="mailto:<?php echo $scorline_theme_options['email_id']; ?>"><i class="fa fa-envelope icon"></i> <?php echo esc_attr($scorline_theme_options['email_id']); ?></a><?php } ?>
  32.  
  33. <?php if($scorline_theme_options['phone_no'] !='') { ?>
  34. <a class="contact" href="tel:<?php echo $scorline_theme_options['phone_no']; ?>"><i class="fa fa-phone icon"></i> <?php echo esc_attr($scorline_theme_options['phone_no']); ?></a><?php } ?>
  35. <?php }
  36.  
  37. if($scorline_theme_options['header_social_media_in_enabled']=='on'){ ?>
  38. <ul class="social-icons hd-sc">
  39. <?php for($i=1; $i<=8; $i++){
  40. if($scorline_theme_options['social_icon_'.$i]!=''){ ?>
  41. <li class="facebook"><a href="<?php echo($scorline_theme_options['social_link_'.$i]); ?>" target="_blank"><i class="<?php echo $scorline_theme_options['social_icon_'.$i]; ?>"></i></a></li>
  42. <?php } } ?>
  43. </ul>
  44. <?php } ?>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <!-- menu-start -->
  50. <nav class="navbar navbar-static-top home-menu-list">
  51. <div class="container">
  52. <div class="navbar-header">
  53. <button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button">
  54. <span class="sr-only"><?php _e('Toggle navigation','scoreline');?></span>
  55. <span class="icon-bar"></span>
  56. <span class="icon-bar"></span>
  57. <span class="icon-bar"></span>
  58. </button>
  59. <a href="<?php echo esc_url(home_url( '/' )); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
  60. <?php if($scorline_theme_options['upload_image_logo']){ ?>
  61. <img class="mobile-logo" src="<?php echo $scorline_theme_options['upload_image_logo']; ?>" alt="<?php echo get_bloginfo('name'); ?>"/>
  62. <?php } else { ?>
  63. <h1><?php echo get_bloginfo('name'); ?> </h1>
  64. <?php } ?>
  65. </a>
  66. </div>
  67. <div class="navbar-collapse collapse">
  68. <?php wp_nav_menu( array(
  69. 'theme_location' => 'primary-menu',
  70. 'menu_class' => 'nav navbar-nav navbar-right',
  71. 'fallback_cb' => 'weblizar_fallback_page_menu',
  72. 'walker' => new weblizar_nav_walker(),
  73. )
  74. ); ?>
  75. </div>
  76. </div>
  77. </nav>
  78. <!-- menu-end -->
Add Comment
Please, Sign In to add comment