Guest User

Untitled

a guest
Jun 14th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head>
  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. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>"/>
  8. <title><?php wp_title( '|', true, 'right' ); ?></title>
  9. <!-- Theme Css -->
  10. <?php
  11. $quality_pro_options=theme_data_setup();
  12. $current_options = wp_parse_args( get_option( 'quality_pro_options', array() ), $quality_pro_options ); ?>
  13.  
  14.  
  15. <?php if($current_options['upload_image_favicon']!=''){ ?>
  16. <link rel="shortcut icon" href="<?php echo $current_options['upload_image_favicon']; ?>" />
  17. <?php } ?>
  18. <?php wp_head(); ?>
  19. </head>
  20. <?php
  21. if($current_options['layout_selector'] == "boxed")
  22. { $class="boxed"; }
  23. else
  24. { $class="wide"; }
  25. ?>
  26. <body <?php body_class($class); ?> >
  27. <!-- Wrapper -->
  28. <div id="wrapper">
  29. <!--Header Contact Details-->
  30. <div class="qua-head-detail">
  31. <div class="container">
  32. <div class="row">
  33. <div class="col-sm-6">
  34. <ul class="head-contact-info">
  35. <?php if($current_options['contact_phone_number']!=''){ ?>
  36. <li><i class="fa fa-phone-square"></i>+<?php echo $current_options['contact_phone_number']; ?></li>
  37. <?php } ?>
  38. <?php if($current_options['contact_email']!=''){ ?>
  39. <li><i class="fa fa-envelope"></i><?php echo $current_options['contact_email']; ?></li>
  40. <?php } ?>
  41. </ul>
  42. </div>
  43. <div class="col-sm-6">
  44. <?php if($current_options['header_social_media_enabled']==true) { ?>
  45. <ul class="head-contact-social">
  46. <?php if($current_options['social_media_facebook_link']!='') { ?>
  47. <li class="facebook"><a href="<?php echo $current_options['social_media_facebook_link']; ?>"><i class="fa fa-facebook"></i></a></li>
  48. <?php }
  49. if($current_options['social_media_linkedin_link']!='') { ?>
  50. <li class="linkedin"><a href="<?php echo $current_options['social_media_linkedin_link']; ?>"><i class="fa fa-snapchat"></i></a></li>
  51. <?php }
  52. if($current_options['social_media_twitter_link']!='') { ?>
  53. <li class="twitter"><a href="<?php echo $current_options['social_media_twitter_link']; ?>"><i class="fa fa-twitter"></i></a></li>
  54. <?php }
  55. if($current_options['social_media_google_plus']!='') { ?>
  56. <li class="googleplus"><a href="<?php echo $current_options['social_media_google_plus']; ?>"><i class="fa fa-instagram"></i></a></li>
  57. <?php } ?>
  58. <li class="googleplus"><a href="<?php echo $current_options['social_youtub']; ?>"><i class="fa fa-youtube"></i></a></li>
  59. </ul>
  60. <?php } ?>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <!--/Header Contact Details-->
  66. <!--Header Logo & Menus-->
  67. <div class="container">
  68. <nav class="navbar navbar-default" role="navigation">
  69. <div class="container-fluid">
  70. <!-- Brand and toggle get grouped for better mobile display -->
  71. <div class="navbar-header">
  72. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  73. <span class="sr-only">Toggle navigation</span>
  74. <span class="icon-bar"></span>
  75. <span class="icon-bar"></span>
  76. <span class="icon-bar"></span>
  77. </button>
  78. <div class="logo pull-left" >
  79. <h1 class="qua-logo" >
  80. <a href="<?php echo home_url( '/' ); ?>">
  81. <?php
  82. if($current_options['text_title'] ==true)
  83. { echo "<div class=qua_title_head>" . get_bloginfo( ). "</div>"; }
  84. else if($current_options['upload_image_logo']!='')
  85. { ?>
  86. <img src="<?php echo $current_options['upload_image_logo']; ?>" style="height:<?php if($current_options['height']!='') { echo $current_options['height']; } else { "80"; } ?>px; width:<?php if($current_options['width']!='') { echo $current_options['width']; } else { "200"; } ?>px;" />
  87. <?php } else { ?>
  88. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>/images/logo.png">
  89. <?php } ?>
  90. </a>
  91. </h1>
  92. </div>
  93. </div>
  94. <!-- Collect the nav links, forms, and other content for toggling -->
  95. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  96. <?php
  97. wp_nav_menu( array(
  98. 'theme_location' => 'primary',
  99. 'container' => 'nav-collapse collapse navbar-inverse-collapse',
  100. 'menu_class' => 'nav navbar-nav navbar-right',
  101. 'fallback_cb' => 'webriti_fallback_page_menu',
  102. 'walker' => new webriti_nav_walker()
  103. )
  104. );
  105. ?>
  106. </div><!-- /.navbar-collapse -->
  107. </div><!-- /.container-fluid -->
  108. </nav>
  109. </div>
Add Comment
Please, Sign In to add comment