Skip to content

Dynamically generate Query variations for registered post types #40941

@jameskoster

Description

@jameskoster

It was mentioned in #39837 (comment) that it would be good to dynamically generate Query variations based on existing post types.

In addition to generating the variations themselves, I hope that we can use the design concepts in #32268 to also dynamically populate those variations with the appropriate filter options, based on the taxonomies attached to the post type.

So if I register a "Recipes" post type with categories "Pizza Dough" and "Pizza Sauce", I should find a "Recipes List" block which includes options to filter the posts it displays based on those categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions