Fixes 404 error when attempting to view paginated custom post type category listing page greater than one
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.
Requires: 2.9 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-5
Downloads: 3,818
Got something to say? Need help?