Skip to content

Query loop filters removed on saving theme #734

Open
@FORTE-WP

Description

@FORTE-WP

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 templates show all posts.

Steps:

  1. Create a custom template
  2. Include the query loop block
  3. In Settings, create a new search and have Post as post type.
  4. Go to the Filter section and enter a specific category taxonomy
  5. Go to the Create Block Theme section in the Site Editor. Select Save Changes to Theme.
  6. Select all items, besides ‘Localize text’ and ‘Remove Navigation Refs’ and save the changes
  7. Go to the custom template to see that the filter is removed.

WordPress: 6.6.2, Create Block Theme: 2.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions