In my website using Sydney Theme with its child theme, I intended to put the Post Grid on homepage to show 9 post items out of 12 post items in total, then trying to use pagination to show the other 3 post items on page 2. However, I noticed the following issues when selecting:
1.) Pagination: It show only 9 posts without any next page selection below. However, if I choose showing just 8 posts, 7 posts or 6 posts per page, it has no such issue and it show the pagination navigation below to the next page, but the total posts shown by the two pages still just only 9 posts, not 12 posts.
2.) JQuery Pagination: Same issue as above.
3.) Load More: Show 9 posts initially, then click on the "Load More" button, it show 12 posts, looks fine. However, one of the random post will be missing and a duplicate post will be shown in the list (means it actually just shown 11 different items, with two items are the exact same post).
Could you please help to determine if this is a conflict with the theme, misconfiguration or just a bug in the plug-in? Thank you.
I noticed that your demo website also has the same problem on No.3 issue that I have mentioned above, please see the following screenshot:
Post Grid Demo – Load More – Grid 2
There are many duplicate posts when the Load More button is pressed (the post links are exactly the same), where the client should see more different posts, not more same posts.
Please verify if this issue is a bug or simply misconfiguration? Thank you.
Thank you for your reply. I have already set the Offset to 0 (it was empty), it doesn’t work. Then, I followed your second solution about the WP core bug issue, I found the latest WordPress version already resolved this bug and there is nothing to change there, it is exactly the same code as the solution given by the WordPress’s support. As such, the second solution doesn’t work as well.
Do you have any other way to resolve this please?
Welcome to our forum,
can yuo please check you might set value for Offset, keep this field empty, or set 0 (zero) ,
otherwise follow this solution i posted here http://paratheme.com/question/post-grid-plugin-pagination-redirects-to-first-page-after-wordpress-update-4-4-1/
Hi, here is the solution i found, seem WP core bug, https://core.trac.wordpress.org/ticket/35344#comment:16 , no need to change on plugin code, you can solve by customizing wp-includes/canonical.php lines 264-270 from this of your wordpress installation , hope that solve yuor issue