Plugin Reviews

Category pagination fix

Fixes 404 error bug in wp category page while using custom permalink structure. Now added support for custom post types by using snippets from jdantze

32 reviews
Average Rating
4.7 out of 5 stars
By , for WP 4.4.2

great plugin, saved my time, Thanks.

It can get more generic
By ,

It's an awesome solution, but it fills a really specific niche of a larger problem.

It actually didn't solve mine but gave me the right direction.

I ended up using a custom 404.php and checking some variables of the query, something as follow:

$q = $wp_query;
$que = $q->query;
if($que['page'] >= 2 && $que['post_type'] == 'galeria'){
include 'taxonomy.php';

Awesome fix anyway, its stupid how much time this have taken from me and many people.

It works
By ,

After hours and hours of work on the category page (template category.php) that give me 404 error page for the second page, this plugin resolve all my problems magically! Thank you.

By , for WP 4.2.2

Simples e perfeito. Fuinciona muito bem.
Very nice!

Excellent plugin..
By , for WP 4.2.2

"I will kill you if you remove this. I died two days for this line"

Like it :)

Была проблема, этот плагин решил ее
By , for WP 4.2.2

При переходе по ссылке пагинация не работала в рубрике выдавало 404 ошибку после установки плагина пагинация начала работать корректно

Does exactly what it says
By , for WP 4.1.1

Amazing that this issue still hasn't been fixed.

Spent ages looking for a solution, and then eventually found this plugin.

Solved it straight away.


By , for WP 4.1.1

Was tearing my hair out trying to troubleshoot this problem.

Plugin fixed it ASAP!


Still working in 4.1
By ,

This seems to still work and unfortunately is still needed in 4.1

Worked great!
By , for WP 4.1

This solved the issue with the custom permalink structure & pagination links like working (ex: http://www.mysite.com/category/page/2). The links are properly working now.

This plugin basically just contains two small functions. I just added these to my functions.php file in my theme folder, so no need to run an additional plugin.

I put this little function together that will additionally allow you to change the number of posts per page for "categories". You could change this for other types of archive pages. This simple function can be added to your theme's functions.php file.

function category_posts_per_page( $query ) {
    if ( $query->is_category() && $query->is_main_query() ) {
        $query->set( 'posts_per_page', 3 );
add_action( 'pre_get_posts', 'category_posts_per_page' );

You must log in to submit a review. You can also log in or register using the form near the top of this page.