File: /home/dragonhs/public_html/wp-content/themes/instock-lite/single.php
<?php get_header(); ?>
<div class="container">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('partials/content/content', 'single'); ?>
<?php instock_lite_next_prev_post(); // Display the next and previous post.
?>
<?php instock_lite_post_author_box(); // Display post author bio.
?>
<?php instock_lite_related_posts(); // Display the related posts.
?>
<?php
// Get data set in customizer
$instock_lite_comment = get_theme_mod('post_comment', true);
// Check if comment enable on customizer
if (true == $instock_lite_comment) :
// If enable and comments are open or we have at least one comment, load up the comment template
if (comments_open() || '0' != get_comments_number()) :
comments_template();
endif;
endif;
?>
<?php endwhile; // end of the loop.
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); // Loads the sidebar.php template.
?>
</div><!-- .container -->
<?php get_footer(); ?>