Changeset 42343 for trunk/src/wp-content/themes/twentyseventeen/archive.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/archive.php
r39072 r42343 28 28 29 29 <?php 30 if ( have_posts() ) : ?> 30 if ( have_posts() ) : 31 ?> 31 32 <?php 32 33 /* Start the Loop */ 33 while ( have_posts() ) : the_post(); 34 while ( have_posts() ) : 35 the_post(); 34 36 35 37 /* … … 42 44 endwhile; 43 45 44 the_posts_pagination( array( 45 'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>', 46 'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ), 47 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>', 48 ) ); 46 the_posts_pagination( 47 array( 48 'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>', 49 'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ), 50 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>', 51 ) 52 ); 49 53 50 54 else : … … 52 56 get_template_part( 'template-parts/post/content', 'none' ); 53 57 54 endif; ?> 58 endif; 59 ?> 55 60 56 61 </main><!-- #main --> … … 59 64 </div><!-- .wrap --> 60 65 61 <?php get_footer(); 66 <?php 67 get_footer();
Note: See TracChangeset
for help on using the changeset viewer.