[Bug] pagination links error behavior for Blog posts on person-page
context for Person
custom content type
#56
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟨 priority: medium
Not blocking but should be fixed soon
🏁 status: ready for work
Ready for work
Milestone
Description
When viewing a Person page which has a list of Posts at the bottom, where there are enough (more than 5) to cause pagination to appear, the links don't work. Instead they simple reload the current page.
When investigating this, there's a 301 that's fired when trying to navigate to the pages.
IF the page is viewed in "preview mode" then the pagination links work correctly, meaning there is something on the frontend of WordPress that is causing the redirect to fire.
Given that this page is a Custom Post Type singular page, and given that the items in question are a paginated loop, it is possible there's an inherent conflict with an expectation WordPress has regarding this combination of factors.
Reproduction
Expectation
The pagination links should load as they do across the rest of the site, loading the correct page of items within the loop they've been given.
Additional context
There is a possibility a fix can be found here:
Resolution
The text was updated successfully, but these errors were encountered: