Query loop filters removed on saving theme
-
I have made some custom templates for single posts within a specific category. The templates also have a query loop with a filter for that same category, so visitors can easily go to the next similar post. But when I save the theme, the category filters are removed. The template shows all posts.
Steps:
- Create a custom template
- Include the query loop block
- In Settings, create a new search and have Post as post type.
- Go to the Filter section and enter a specific category taxonomy
- Go to the Create Block Theme section in the Site Editor. Select Save Changes to Theme.
- Select all items, besides ‘Localize text’ and ‘Remove Navigation Refs’ and save the changes
- Go to the custom template and see that the filter is removed.
WordPress: 6.6.2, Create Block Theme: 2.5.0
- You must be logged in to reply to this topic.