WordPress / WordPress/create-block-theme
core/query block does not save taxonomy filter
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 417
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
I have a custom post type with a custom taxonomy.
So I use the query block to show 2 block on a page, the 1st with category Press, the second with category Award.
When I save the template in Gutenberg Template editor, everything works as expected.
But when I sync everything to theme, my taxonomy filter is gone and missing from the block markup.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a custom post type, custom taxonomy, and two Query blocks filtered to different terms in the Gutenberg Template editor. Compare the block markup before and after syncing the template to the theme, then confirm that both taxonomy filters remain present after synchronization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100