Sindbad~EG File Manager
<?php
/**
* the template for displaying all posts.
*/
get_header();
get_template_part( 'template-parts/banner/content', 'banner-blog' );
$turitor_blog_sidebar = turitor_option('blog_sidebar',1);
$turitor_column = ($turitor_blog_sidebar == 1 || !is_active_sidebar('sidebar-1')) ? 'col-lg-10 mx-auto' : 'col-lg-8 col-md-12';
?>
<div id="main-content" class="main-container blog-single" role="main">
<div class="container">
<div class="row">
<?php if($turitor_blog_sidebar == 2){
get_sidebar();
} ?>
<div class="<?php echo esc_attr($turitor_column);?>">
<?php while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post-content post-single">
<?php get_template_part( 'template-parts/blog/contents/content', 'single' ); ?>
</div>
<?php
turitor_post_nav();
?>
<?php get_template_part( 'template-parts/blog/post-parts/part', 'author' ); ?>
<?php
comments_template();
?>
<?php endwhile; ?>
</div> <!-- .col-md-8 -->
<?php if($turitor_blog_sidebar == 3){
get_sidebar();
} ?>
</div> <!-- .row -->
</div> <!-- .container -->
</div> <!--#main-content -->
<?php get_footer(); ?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists