Please make sure you are using latest version of the plugin, because this pagination bug was fixed some time ago… Let me know how you go.
Thanks
Hi,
It’s 1.7.1 version. Isn’t it the latest version ?
I use the 1.7.1 version but the problem is here again…Can you help me please??
Thanks
Hi. I can help you, I had the same problem days ago. The issue is that you can’t change the number of posts to show in the home page or in the category page when the plugin is activated. Here is the bug: For some reason in the WP Catalogue Settings, the number that you put in the field “pagination” (products per page) is linked to the max number of posts to show in your home page, I really don’t know why, but that is the problem.
Make a try and put a number in WP Catalogue Settings > pagination, and you’ll see the same number in Settings > Reading > Blog pages show at most.. :S
The “Temporary” Solution.
I don’t know about your coding skills, I don’t have too much knowledges about coding, but I found a temporary solution and it works for me, while the author find a better solution.
You just must to copy and paste the codes below at the end of functions.php file of your theme (tell me if you don’t know how to do it, it’s very easy).
<?php
add_action( 'pre_get_posts', 'change_posts_number_home_page' );
function change_posts_number_home_page( $query ) {
if ( is_home() )
$query->set( 'posts_per_page', ZZZZZ );
return $query;
}
?>
<?php
add_action( 'pre_get_posts', 'change_number_posts_per_category' );
function change_number_posts_per_category( $query ) {
if ( !is_home() ) {
$query->set( 'posts_per_page', XXXXX );
return $query;
}}
?>
(change the ZZZZZ for the number of posts that you want to show in your home page, and XXXXX for the number of posts that you want to show in your categories pages).
I really hope that this can helph you, it works for me. Just look at my site enMovimiento, I’ve the catalogue at carreras > clubes