<?php
/**
 * The Template for displaying all single posts
 *
 * @package Gridalicious Catch Themes
 * @subpackage Gridalicious
 * @since Gridalicious 1.0
 */

get_header(); ?>

	<main id="main" class="site-main" role="main">

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

		<?php get_template_part( 'content', 'single' ); ?>

		<?php 
			/** 
			 * gridalicious_after_post hook
			 *
			 * @hooked gridalicious_post_navigation - 10
			 */
			do_action( 'gridalicious_after_post' ); 
			
			/** 
			 * gridalicious_comment_section hook
			 *
			 * @hooked gridalicious_get_comment_section - 10
			 */
			do_action( 'gridalicious_comment_section' ); 
		?>
	<?php endwhile; // end of the loop. ?>

	</main><!-- #main -->
	
<?php get_sidebar(); ?>
<?php get_footer(); ?>