get_option( 'related_posts_before_comments' ) ) get_template_part( 'template-parts/related', 'posts' );
// If comments are open or we have at least one comment, load up the comment template.
if ( $is_show_comments ) {
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
}
?>