<?php
/**
 * The template for displaying all single posts.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package Monstroid2
 */
while ( have_posts() ) : the_post();

	get_template_part( monstroid2_get_single_post_template_part_slug(), get_post_format() );

	monstroid2_get_template_part( 'template-parts/content', 'post-navigation' );

	monstroid2_related_posts();

	monstroid2_post_author_bio();

	// 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.
