Changeset 11553 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/front-page.php
- Timestamp:
- 02/15/2022 12:40:18 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/front-page.php
r11459 r11553 47 47 ?> 48 48 49 <?php if ( $query_total === $GLOBALS['wp_query']->query_vars['posts_per_page'] ) : ?> 50 <div class="photos-all-links navigation"><a href="<?php echo esc_url( get_post_type_archive_link( get_photo_post_type() ) ); ?>"><?php _e( 'See more photos→', 'wporg-photos' ); ?></a></div> 51 <?php endif; ?> 52 49 <?php if ( ! is_paged() && $GLOBALS['wp_query']->max_num_pages > 1 ) : ?> 50 <?php 51 $link = '<div class="nav-next">' . get_next_posts_link( __( 'See more photos→', 'wporg-photos' ) ) . '</div>'; 52 echo _navigation_markup( $link, 'posts-navigation', __( 'Photos navigation', 'wporg-photos' ) ); ?> 53 <?php else : 54 the_posts_pagination(); 55 endif; 56 ?> 53 57 </main><!-- #main --> 54 58
Note: See TracChangeset
for help on using the changeset viewer.