Guest User

Untitled

a guest
Aug 14th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 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. </head>
  14. <?php
  15. $current_options = wp_parse_args( get_option( 'busiprof_pro_theme_options', array() ), theme_data_setup() );
  16. if($current_options['layout_selector'] == "boxed")
  17. { $class="boxed"; }
  18. else
  19. { $class="wide"; }
  20. ?>
  21. <body <?php body_class($class); ?> >
  22. <div id="wrapper">
  23. <!--Header Top Info-->
  24. <?php if (( is_active_sidebar('home-header-sidebar_left') || is_active_sidebar('home-header-sidebar_right') )) {?>
  25. <section class="top-header-widget">
  26. <div class="container">
  27. <div class="row">
  28. <div class="col-md-4">
  29. <?php if( is_active_sidebar('home-header-sidebar_left') ) { ?>
  30. <?php dynamic_sidebar( 'home-header-sidebar_left' ); ?>
  31. <?php } ?>
  32. </div>
  33. <div class="col-md-4">
  34.  
  35. </div>
  36. <div class="col-md-4">
  37. <?php if( is_active_sidebar('home-header-sidebar_right') ) { ?>
  38. <?php dynamic_sidebar( 'home-header-sidebar_right' ); ?>
  39. <?php } ?>
  40. </div>
  41. </div>
  42. </div>
  43. </section>
  44. <?php } ?>
  45. <!--End of Header Top Info-->
  46. <!-- Navbar -->
  47. <nav class="navbar navbar-default">
  48. <div class="container1">
  49. <!-- Brand and toggle get grouped for better mobile display -->
  50. <div class="navbar-header">
  51. <a class="navbar-brand" href="<?php echo home_url( '/' ); ?>" class="brand">
  52. <?php
  53. if( $current_options['enable_logo_text'] == true ){
  54. bloginfo('name');
  55. }else{
  56. ?>
  57. <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' ); ?>"
  58. alt="<?php bloginfo("name"); ?>"
  59. class="logo_imgae" style="width:<?php echo esc_html($current_options['width']).'px'; ?>; height:<?php echo esc_html($current_options['height']).'px'; ?>;">
  60. <?php } ?>
  61. </a>
  62.  
  63. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  64. <span class="sr-only">Toggle navigation</span>
  65. <span class="icon-bar"></span>
  66. <span class="icon-bar"></span>
  67. <span class="icon-bar"></span>
  68. </button>
  69. </div>
  70.  
  71. <!-- Collect the nav links, forms, and other content for toggling -->
  72. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  73. <?php
  74. wp_nav_menu( array(
  75. 'theme_location' => 'primary',
  76. 'container' => 'nav-collapse collapse navbar-inverse-collapse',
  77. 'menu_class' => 'nav navbar-nav navbar-right',
  78. 'fallback_cb' => 'busiprof_fallback_page_menu',
  79. 'walker' => new busiprof_nav_walker())
  80. );
  81. ?>
  82. </div>
  83. </div>
  84. </nav>
  85. <!-- End of Navbar -->
Add Comment
Please, Sign In to add comment