Changeset 11553 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/functions.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/functions.php
r11550 r11553 321 321 322 322 // Set the number of photos to appear per page in the photos archive. 323 if ( is_post_type_archive( $post_type ) ) {323 if ( is_post_type_archive( $post_type ) || ( is_home() && is_paged() ) ) { 324 324 $query->set( 'posts_per_page', 30 ); 325 325 }
Note: See TracChangeset
for help on using the changeset viewer.