Changeset 1282571
- Timestamp:
- 11/09/2015 02:19:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
awesome-photo-gallery/trunk/frontend/class-shortcodes.php
r1282502 r1282571 37 37 $widget = null; 38 38 39 $album_args = array( 40 'post_type' => 'apg_photo_albums', 41 'post_status' => 'publish', 42 ); 39 $album_args = array( 40 'post_type' => 'apg_photo_albums', 41 'post_status' => 'publish', 42 'posts_per_page' => 5000, 43 ); 43 44 44 45 /** … … 115 116 } 116 117 117 $album_args = array( 118 'post_type' => 'apg_photo_albums', 119 'post_status' => 'publish', 120 ); 118 $album_args = array( 119 'post_type' => 'apg_photo_albums', 120 'post_status' => 'publish', 121 'posts_per_page' => 5000, 122 ); 121 123 $albums = get_posts( $album_args ); 122 124
Note: See TracChangeset
for help on using the changeset viewer.