<?php
/**
 * Single Posts Template
 *
 * Please do not edit this file. This file is part of the CyberChimps Framework and all modifications
 * should be made in a child theme.
 *
 * @category CyberChimps Framework
 * @package  Framework
 * @since    1.0
 * @author   CyberChimps
 * @license  http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
 * @link     http://www.cyberchimps.com/
 */

get_header(); ?>

	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">
			<div class="container">
				<div class="row">
					<div class="col-md-9">
						<?php compact_one_breadcrumbs(); ?>
						<?php
						while ( have_posts() ) :
							the_post();
?>

							<?php get_template_part( 'template-parts/content', 'single' ); ?>

							<?php compact_one_post_nav(); ?>
							<?php compact_one_posts_author_bio(); ?>

							<?php
								// 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;
							?>

						<?php
						endwhile; // end of the loop.
						?>

					</div><!-- .col-md-9 -->
					<?php get_sidebar(); ?>
				</div> <!-- .row -->
			</div><!-- .container -->

		</main><!-- #main -->
	</div><!-- #primary -->

<?php get_footer(); ?>
