| @@ 7-16 (lines=10) @@ | ||
| 4 | * @author Eric Amundson <[email protected]> |
|
| 5 | */ |
|
| 6 | ||
| 7 | while ( have_posts() ) : the_post(); |
|
| 8 | ||
| 9 | get_template_part( 'components/page/content', 'page' ); |
|
| 10 | ||
| 11 | // If comments are open or we have at least one comment, load up the comment template. |
|
| 12 | if ( comments_open() || get_comments_number() ) : |
|
| 13 | comments_template(); |
|
| 14 | endif; |
|
| 15 | ||
| 16 | endwhile; // end of the loop. |
|
| @@ 10-21 (lines=12) @@ | ||
| 7 | * @package bitsy |
|
| 8 | */ |
|
| 9 | ||
| 10 | while ( have_posts() ) : the_post(); |
|
| 11 | ||
| 12 | get_template_part( 'components/post/content', get_post_format() ); |
|
| 13 | ||
| 14 | the_post_navigation(); |
|
| 15 | ||
| 16 | // If comments are open or we have at least one comment, load up the comment template. |
|
| 17 | if ( comments_open() || get_comments_number() ) : |
|
| 18 | comments_template(); |
|
| 19 | endif; |
|
| 20 | ||
| 21 | endwhile; // End of the loop. |
|
| 22 | ||