| @@ 20-32 (lines=13) @@ | ||
| 17 | <div id="primary" class="content-area"> |
|
| 18 | <div id="content" class="site-content" role="main"> |
|
| 19 | ||
| 20 | <?php while ( have_posts() ) : |
|
| 21 | the_post(); ?> |
|
| 22 | ||
| 23 | <?php get_template_part( 'content', 'page' ); ?> |
|
| 24 | ||
| 25 | <?php |
|
| 26 | // If comments are open or we have at least one comment, load up the comment template. |
|
| 27 | if ( comments_open() || '0' !== get_comments_number() ) { |
|
| 28 | comments_template(); |
|
| 29 | } |
|
| 30 | ?> |
|
| 31 | ||
| 32 | <?php endwhile; // end of the loop. ?> |
|
| 33 | ||
| 34 | </div><!-- #content --> |
|
| 35 | </div><!-- #primary --> |
|
| @@ 16-29 (lines=14) @@ | ||
| 13 | <section id="primary"> |
|
| 14 | <main id="content" role="main"> |
|
| 15 | ||
| 16 | <?php while ( have_posts() ) : the_post(); ?> |
|
| 17 | ||
| 18 | <?php get_template_part( 'content', get_post_format() ); ?> |
|
| 19 | ||
| 20 | <?php strip_content_nav( 'nav-below' ); ?> |
|
| 21 | ||
| 22 | <?php |
|
| 23 | // If comments are open or we have at least one comment, load up the comment template. |
|
| 24 | if ( comments_open() || '0' !== get_comments_number() ) { |
|
| 25 | comments_template(); |
|
| 26 | } |
|
| 27 | ?> |
|
| 28 | ||
| 29 | <?php endwhile; // end of the loop. ?> |
|
| 30 | ||
| 31 | </main><!-- #content --> |
|
| 32 | </section><!-- #primary --> |
|