WP Query: Incorrect routing of pagination when place 2 different blocks in a same page #44019
Labels
[Block] Query Loop
Affects the Query Loop Block
[Block] Query Pagination
Affects the Query Pagination Block - used for pagination within the Query Loop Block
[Type] Bug
An existing feature does not function as intended
Description
Current pagination routing doesn't have a way to classify multiple post categories on the same page.
What happened:
An example, I'm on the a custom page which places 2 WP Query blocks for 2 different post categories. If I click on the second page number or the next button of the first category, I will go to the second page, it shows posts of both the first category and the second category.
What I expect:
I expect will go to the second page but it only shows the first category's posts (routing need to changed), or go to the selected Category page.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: