<?php 
  
   $banner_title             = get_bloginfo( 'name' );
   $settings                 = binox_option( 'opt-tabbed-banner');
   $show                     = isset( $settings[ 'search_page_banner_show' ] ) ? $settings[ 'search_page_banner_show' ] : 1;
   $show_breadcrumb          = isset( $settings[ 'search_page_show_breadcrumb' ] ) ? $settings[ 'search_page_show_breadcrumb' ] : 1;
   $shortcode                = isset( $settings[ 'search_elementor_shortcode' ] ) ? $settings[ 'search_elementor_shortcode' ] : 0;
   $shortcode_id             = isset( $settings[ 'search_banner_shortcode' ] ) ? $settings[ 'search_banner_shortcode' ] : '';
   $banner_cls               = [];
   /* Title start */   
   if( isset($settings['search_banner_page_title']) && $settings['search_banner_page_title'] != '' ){
     $banner_title = $settings['search_banner_page_title'];
   }
   /* Title end */  
     
   if(binox_is_transparent_header()){
      $banner_cls[] = 'pt-250';
   }else{
      $banner_cls[] = 'pt-200';
   }
     
?>
 <!-- default banner start -->
<?php if($show): ?>
   <?php if($shortcode && $shortcode_id !='' && shortcode_exists('WCF_ELEMENTOR_TPL')){ ?>
      <?php echo do_shortcode($shortcode_id); ?>
   <?php }else{ ?>
         <div class="default-breadcrumb__area pb-200 <?php echo esc_attr(implode(' ', $banner_cls )) ?>">
           <div class="container">
           <?php if($banner_title !=''): ?>  
             <h1 class="default-breadcrumb__title"><?php echo esc_html($banner_title); ?></h1>
           <?php endif; ?>
           <?php if($show_breadcrumb): ?>
              <?php binox_get_breadcrumbs('<i class="icon-wcf-checvron-right"></i>'); ?>
           <?php endif; ?>
           </div>
         </div>
    <?php } ?>
<?php endif; ?>
   <!-- default banner end -->
