I add 12 products to the wishlist. i go to the wishlist page - it displays 10 items and pagination links but the next page does NOT load, I cannot se the next products.
Any advice please?
FINALLY I have the permanent solution:
You need to paste this in your functions.php so pagination works for custom post types:
add_filter( 'redirect_canonical', 'custom_disable_redirect_canonical' );
function custom_disable_redirect_canonical( $redirect_url ) {
if ( is_paged() && is_singular() ) $redirect_url = false;
return $redirect_url;
}
Solution found here:
https://wordpress.stackexchange.com/questions/44537/why-is-page-2-not-working
I found the problem after a LOT of investigation:
You have to set your permalinks to default setting - plain : https://yoursite/?p=123
While this is not my preferred option, at least it works for now.
Hope this helps others with this problem and I hope the author can fix this better 🙂
Welcome to our forum.
Can you please deactivate others plugin one by one to check if any 3rd party plugin causes the issue if you found it please let me know, also please clear browser cache and try.
Regards
This is NOT a solution since i need the permalink structure set to postname for seo purposes.
Do you have a fix for this please?