';
// get the full post
while ( have_posts() ) : the_post();
get_template_part( 'content', 'single' );
if( get_theme_mod( 'hide_postnav' ) == '') {
flat_responsive_post_nav();
}
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
endwhile;
echo '
';
break;
// Left Column
case "singleleft" :
echo '';
echo '
';
// get the full post
while ( have_posts() ) : the_post();
get_template_part( 'content', 'single' );
if( get_theme_mod( 'hide_postnav' ) == '') {
flat_responsive_post_nav();
}
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
endwhile;
echo '
';
break;
// Left and Right Column
case "singleleftright" :
echo '';
echo '
';
// get the full post
while ( have_posts() ) : the_post();
get_template_part( 'content', 'single' );
if( get_theme_mod( 'hide_postnav' ) == '') {
flat_responsive_post_nav();
}
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
endwhile;
echo '
';
break;
// Wide Column
case "singlewide" :
echo '';
// get the full post
while ( have_posts() ) : the_post();
get_template_part( 'content', 'single' );
if( get_theme_mod( 'hide_postnav' ) == '') {
flat_responsive_post_nav();
}
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
endwhile;
echo '
';
break;
}
?>