Skip to content

Allow adding templates for a single post with a specific taxonomy/term in the Site Editor. #48264

@nefeline

Description

@nefeline

What problem does this address?

Currently, it is not possible to add templates for a single post with a specific taxonomy/term in the Site Editor.

What is your proposed solution?

This is a request for making this option available under Templates > Single Item: {post_type}:

Screenshot 2023-02-20 at 22 52 48

On WooCommerce Blocks, we have been exploring different approaches for allowing store owners to add custom templates to individual products depending on their type (simple, grouped, variable, external, etc.). In a nutshell, these are terms of the product_type taxonomy. Ideally, we would like to rely on a more robust long-term solution provided by Gutenberg to achieve this goal: we believe this approach can benefit not only Woo, but basically anyone who intends to have a special template for a single post type given its taxonomy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions