HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/kofejob-wp/wp-content/themes/kofejob/single.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-12 col-xl-12 col-xs-12 col-md-12 col-sm-12';	
            }
            ?>      	
        
          <div class="<?php echo esc_attr($blog_type); ?>">
            <?php get_template_part( 'template-parts/blog/blog','detail' ); ?> 
          </div>
            <?php
            if(isset($sidebar_opt) && $sidebar_opt == 'right')
            {
                get_sidebar();
            }
			else if(isset($sidebar_opt) && $sidebar_opt == '' && is_active_sidebar( 'kofejob-blog-widget' ))
			{
				get_sidebar();
			} else if(isset($sidebar_opt) && $sidebar_opt == '' && is_active_sidebar( 'sidebar-1' )){
                get_sidebar();
            }
            ?>
        </div>
    </div>
</div>
<?php
?>
<?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');
}
?>