File: /mnt/data/kofejob-wp/wp-content/themes/kofejob/search.php
<?php
get_header();
$actionbBar = kofejob_fl_framework_get_options('action_bar');
$actionbar_space = '';
if(isset($actionbBar) && $actionbBar == 1)
{
$actionbar_space = 'actionbar_space';
}
?>
<div class="content">
<div class="container">
<div class="row">
<?php
$sidebar_opt = kofejob_fl_framework_get_options('blog_sidebar');
$blog_type = 'col-lg-8 col-xl-8 col-xs-12 col-md-12 col-sm-12';
if( isset( $sidebar_opt ) && $sidebar_opt == 'no-sidebar' )
{
$blog_type = 'col-lg-12 col-xl-12 col-xs-12 col-md-12 col-sm-12';
}
else
{
$blog_type = 'col-lg-8 col-xl-8 col-xs-12 col-md-12 col-sm-12';
}
if(isset($sidebar_opt) && $sidebar_opt == 'left')
{
get_sidebar();
}
if ( is_active_sidebar( 'kofejob-blog-widget' ) ) {
$blog_type = 'col-lg-8 col-xl-8 col-xs-12 col-md-12 col-sm-12';
} else if ( is_active_sidebar( 'sidebar-1' ) ) {
$blog_type = 'col-lg-8 col-xl-8 col-xs-12 col-md-12 col-sm-12';
} else {
$blog_type = 'col-lg-6 offset-xl-3 offset-lg-3 offset-md-3 col-xl-6 col-xs-12 col-md-6 col-sm-12';
}
?>
<div class="<?php echo esc_attr($blog_type); ?> ">
<div class="blog-view">
<?php get_template_part( 'template-parts/blog/blog','loop-search' ); ?>
</div>
<?php kofejob_paginationblog(); ?>
</div>
<?php
if(isset($sidebar_opt) && $sidebar_opt == 'right')
{
get_sidebar();
} else if(isset($sidebar_opt) && $sidebar_opt == '' && is_active_sidebar( 'sidebar-1' )){
get_sidebar();
}
?>
</div>
</div>
</div>
<?php if(isset($kofejob_theme_options['footer_type'])) { $footer_type = $kofejob_theme_options['footer_type']; } else { $footer_type = 0; }
if($footer_type == 1) {
if($footer_type == 1 && in_array('elementor-pro/elementor-pro.php', apply_filters('active_plugins', get_option('active_plugins'))))
{
elementor_theme_do_location('footer');
get_footer();
}else{
get_footer();
}
}else {
get_template_part('footer');
}
?>