Guest User

Untitled

a guest
Aug 2nd, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4. <meta charset="<?php bloginfo( 'charset' ); ?>">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta http-equiv="x-ua-compatible" content="ie=edge">
  7.  
  8. <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
  9. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
  10. <?php endif; ?>
  11.  
  12. <?php wp_head(); ?>
  13.  
  14. </head>
  15. <?php
  16. $current_options = wp_parse_args( get_option( 'busiprof_pro_theme_options', array() ), theme_data_setup() );
  17. if($current_options['layout_selector'] == "boxed")
  18. { $class="boxed"; }
  19. else
  20. { $class="wide"; }
  21. ?>
  22. <body <?php body_class($class); ?> >
  23. <div id="wrapper">
  24. <!--Header Top Info-->
  25. <?php if (( is_active_sidebar('home-header-sidebar_left') || is_active_sidebar('home-header-sidebar_right') )) {?>
  26. <section class="top-header-widget">
  27. <div class="container">
  28. <div class="row">
  29. <div class="col-md-4">
  30. <?php if( is_active_sidebar('home-header-sidebar_left') ) { ?>
  31. <?php dynamic_sidebar( 'home-header-sidebar_left' ); ?>
  32. <?php } ?>
  33. </div>
  34. <!--<div class="col-md-4">
  35.  
  36. </div>-->
  37. <div class="col-md-8 custom-right-webriti">
  38. <?php if( is_active_sidebar('home-header-sidebar_right') ) { ?>
  39. <?php dynamic_sidebar( 'home-header-sidebar_right' ); ?>
  40. <?php } ?>
  41. </div>
  42. </div>
  43. </div>
  44. </section>
  45. <?php } ?>
  46. <!--End of Header Top Info-->
  47. <!-- Navbar -->
  48. <nav class="navbar navbar-default">
  49. <div class="container">
  50. <!-- Brand and toggle get grouped for better mobile display -->
  51. <div class="navbar-header">
  52. <a class="navbar-brand" href="<?php echo home_url( '/' ); ?>" class="brand">
  53. <?php
  54. if( $current_options['enable_logo_text'] == true ){
  55. bloginfo('name');
  56. }else{
  57. ?>
  58. <img alt="<?php bloginfo("name"); ?>" src="<?php echo ( esc_url($current_options['upload_image']) ? $current_options['upload_image'] : get_template_directory_uri() . '/images/logo.png' ); ?>"
  59. alt="<?php bloginfo("name"); ?>"
  60. class="logo_imgae" style="width:<?php echo esc_html($current_options['width']).'px'; ?>; height:<?php echo esc_html($current_options['height']).'px'; ?>;">
  61. <?php } ?>
  62. </a>
  63.  
  64. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  65. <span class="sr-only">Toggle navigation</span>
  66. <span class="icon-bar"></span>
  67. <span class="icon-bar"></span>
  68. <span class="icon-bar"></span>
  69. </button>
  70. </div>
  71.  
  72. <!-- Collect the nav links, forms, and other content for toggling -->
  73. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  74. <?php
  75. wp_nav_menu( array(
  76. 'theme_location' => 'primary',
  77. 'container' => 'nav-collapse collapse navbar-inverse-collapse',
  78. 'menu_class' => 'nav navbar-nav navbar-right',
  79. 'fallback_cb' => 'busiprof_fallback_page_menu',
  80. 'walker' => new busiprof_nav_walker())
  81. );
  82. ?>
  83. </div>
  84. </div>
  85. </nav>
  86. <!-- End of Navbar -->
Add Comment
Please, Sign In to add comment