Boone's Pagination
A handy, extensible class for paginating your custom post type lists.
Maintenance 20/1004991d since update
Active installs
0
Downloads
1,840
Reviews
0
Age
14.6y
Tagscustom post typespagination
Plugin info
Total downloads: 1,840
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 5/2/2012 (4991 days ago)
Added to WordPress: 5/15/2011 (14 years old)
Minimum WordPress version: 3.1
Tested up to WordPress version: 3.3.2
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 4991 days ago
20/100
Is Boone's Pagination abandoned?
Possibly abandoned (last update 4991 days ago).
Compatibility
Requires WordPress: 3.1
Tested up to: 3.3.2
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
WP-PageNavi
Rating 4.7/5 (149 reviews) • Active installs 500,000
WP-Paginate
Rating 4.6/5 (107 reviews) • Active installs 20,000
WP PageNavi Style
Rating 4.8/5 (16 reviews) • Active installs 9,000
Pagination by BestWebSoft – Customizable WordPress Content Splitter and Navigation Plugin
Rating 4.8/5 (45 reviews) • Active installs 6,000
Infinite-Scroll
Rating 4.6/5 (43 reviews) • Active installs 5,000
Faster Pagination
Rating 3.0/5 (2 reviews) • Active installs 2,000
Description
Here’s how I recommend using the class.
- Either activate this plugin, or include the class in your own plugin file.
- When you start to render the page with the post list, instantiate the pagination class, using an argument array if you’d like: $pargs = array( ‘get_per_page_key’ => ‘perpage’, ‘get_paged_key’ => ‘current_page’, ‘per_page’ => 15 ); $pagination = new BBG_CPT_Pag( $args );
- When constructing your query arguments (for query_posts() or WP_Query), you can use the class to get your pagination arguments out of the $_GET parameters. For instance: $args = array( … ‘posts_per_page’ => $pagination->get_per_page, ‘paged’ => $pagination->get_paged … ); query_posts( $args );
- After firing the query, use the
setup_query()method to populate the rest of the class. If you usedquery_posts(), you don’t need an argument: $pagination->setup_query(); If you usenew WP_Query, you’ll have to pass the query object: $my_query = new WP_Query; $pagination->setup_query( $my_query ); - Then you can use all sorts of fun methods, like $pagination->paginate_links(); $pagination->currently_viewing_text();
Installation
No installation instructions available
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
1.1
- Adds additional customization arguments. Thanks, r-a-y!
1.0.1
- Updates plugin structure to keep plugin metadata in a separate loader file
1.0
- Initial release