Fixes 404 error when attempting to view paginated custom post type category listing page greater than one
Author: | jdantzer (profile at wordpress.org) |
WordPress version required: | 2.9 |
WordPress version tested: | 3.0.5 |
Plugin version: | 1.0 |
Added to WordPress repository: | 05-10-2010 |
Last updated: | 05-10-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | |
Total downloads: | 8 931 |
Active installs: | 1 000+ |
Click to start download |
Adapted from Rahnas 'Category pagination fix', with help from http://www.ballyhooblog.com/add-custom-post-types-wordpress-main-feed/
Fixes a bug in WordPress 3 ( possibly in lower versions ) when viewing a category listing page pagination, consisting of custom post types, when using the permalink structure %category%/%postname%. After the first page, the URL will be something like cat-name/page/2 and will return a 404 error page. The problem is that the request is only checking for posts with post type 'post', within the specified category. By adding all custom post types to the request, pagination will work as expected.