Changeset 44149 for trunk/src/wp-content/themes/twentynineteen/index.php
- Timestamp:
- 12/14/2018 02:32:33 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963
- Property svn:mergeinfo changed
-
trunk/src/wp-content/themes/twentynineteen/index.php
r43808 r44149 12 12 * @package WordPress 13 13 * @subpackage Twenty_Nineteen 14 * @since 1.0.0 14 15 */ 15 16 … … 17 18 ?> 18 19 19 < divid="primary" class="content-area">20 <section id="primary" class="content-area"> 20 21 <main id="main" class="site-main"> 21 22 22 <?php23 if ( have_posts() ) {23 <?php 24 if ( have_posts() ) { 24 25 25 // Load posts loop. 26 while ( have_posts() ) { 27 the_post(); 28 get_template_part( 'template-parts/content/content' ); 26 // Load posts loop. 27 while ( have_posts() ) { 28 the_post(); 29 get_template_part( 'template-parts/content/content' ); 30 } 31 32 // Previous/next page navigation. 33 twentynineteen_the_posts_navigation(); 34 35 } else { 36 37 // If no content, include the "No posts found" template. 38 get_template_part( 'template-parts/content/content', 'none' ); 39 29 40 } 30 31 // Previous/next page navigation. 32 twentynineteen_the_posts_navigation(); 33 34 } else { 35 36 // If no content, include the "No posts found" template. 37 get_template_part( 'template-parts/content/content', 'none' ); 38 39 } 40 ?> 41 ?> 42 41 43 </main><!-- .site-main --> 42 </ div><!-- .content-area -->44 </section><!-- .content-area --> 43 45 44 46 <?php
Note: See TracChangeset
for help on using the changeset viewer.