Example when browsing hidden link
We notice that when moving from page to page using the page selector at the base of the resources, that certain resources are appearing on more than one page.
For example:
Starting on page1, I see a resource called 'incident report' Using the > arrows I navigate to page 5 and the same resource reappears.
We have checked and in admin, there is only one version of this resource, also when you search for it only one version is returned - concluding it is not a duplicate but an issue with how the resources are being displayed across pages.
The issue is not restricted to this one example, it happens for multiple resources.
We'd like to fix this issue as it feels like a bug.
Also, ideally we'd like to display the lists in a fixed alphabetical order.
Can you assist with both these requests?
Thanks
Starting on page1, I see a resource called 'incident report' Using the > arrows I navigate to page 5 and the same resource reappears.
It seems to be related to User or User Role, because the behavior is different if I'm logged in or not. Do you have a staging environment set up where we can turn plugins off and run tests for conflicts? If so, please provide login credentials here and I will take a look.
It seems that a few shortcodes in the WordPress Archive are causing problems. I have changed those and pagination seems to be working as expected now in staging, though I did make quite a few changes during my tests including updating Toolset plugins and updating WordPress and WooCommerce. However, I still think the shortcodes were the cause of the problem. I would like to confirm the shortcode fix by resetting the staging environment to match production so I can run those tests one more time to confirm. Let me know if that's possible. For your reference, the shortcodes I changed were from:
[wpv-pager-prev-page]
[wpv-pager-total-pages]
[wpv-pager-next-page]
...to these preferred archive-specific shortcodes:
[wpv-pager-archive-prev-page]
[wpv-pager-archive-total-pages]
[wpv-pager-archive-next-page]
I also updated the WordPress Archive for Resource Categories to be sorted alphabetically.
Sorry, we dont have a back up of staging right now.
Could we ask you to implement the changes on live though? We do have a back up of that site.
Done, please check the live site and confirm this is working as expected. This archive is also used for Products, so the changes made here will also be applied to the Products archives.