<?php
/**
 * The template displaying single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package The Wonders
 */

get_header(); ?>

<section id="content" class="theme-block theme-blog theme-blog-large theme-bg-grey">	
	
	<div class="container-full">

		<div class="row">

			<div class="col-lg-8 col-md-8 col-sm-8">

				<?php
				while ( have_posts() ) :
					the_post();

					get_template_part( 'template-parts/content-single', 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>

			<?php get_sidebar(); ?>

		</div>

	</div>
	
</section>

<?php
get_footer();