File: /home/retoti4c1e1s/public_html/izzlongevity.com/wp-content/themes/noile/single.php
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package noile
*/
get_header();
?>
<!--Blog Sidebar Start-->
<section class="blog-details">
<div class="container">
<div class="row <?php echo esc_attr('full-width' == noile_blog_layout() ? 'justify-content-center' : ""); ?>">
<?php $noile_content_class = (is_active_sidebar('sidebar-1')) ? "col-xl-8 col-lg-7" : "col-xl-12 col-lg-12" ?>
<div class="<?php echo esc_attr($noile_content_class); ?>">
<div class="blog-details__left">
<?php
while (have_posts()) :
the_post();
get_template_part('template-parts/content', get_post_type());
// If comments are open or we have at least one comment, load up the comment template.
if (comments_open() || get_comments_number()) :
comments_template();
endif;
endwhile; // End of the loop.
?>
</div>
</div>
<?php if (is_active_sidebar('sidebar-1') && 'full-width' != noile_blog_layout()) : ?>
<div class="col-xl-4 col-lg-5 <?php echo esc_attr(noile_blog_layout()); ?>">
<div class="sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php endif; ?>
</div>
</div>
</section>
<!--Blog Sidebar End-->
<?php
get_footer();