[Bug] pagination links error behavior for Blog posts on `person-page` context for `Person` custom content type
possumbilities opened this issue · 0 comments
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
- Go to any Person's page with more than 5 authored posts
- Scroll down to the list, and click any pagination link beyond the first page
- See page reload (if investigating with browser console, you can see the 301 fire)
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
- I would be interested in resolving this bug.