Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] pagination links error behavior for Blog posts on person-page context for Person custom content type #56

Closed
1 task done
possumbilities opened this issue Dec 8, 2023 · 0 comments · Fixed by #57
Assignees
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

Comments

@possumbilities
Copy link
Contributor

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

  1. Go to any Person's page with more than 5 authored posts
  2. Scroll down to the list, and click any pagination link beyond the first page
  3. 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.
@possumbilities possumbilities added 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository labels Dec 8, 2023
@possumbilities possumbilities self-assigned this Dec 8, 2023
@possumbilities possumbilities changed the title [Bug] pagination links for Blog posts on person-page context for Person custom content type instead of loading chosen page, fires a 301 redirect to the Person's singular page route [Bug] pagination links error behavior for Blog posts on person-page context for Person custom content type Dec 8, 2023
@possumbilities possumbilities added this to the v1.3.2 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant