Skip to content

Theme Templates: Give users an option to "deactivate" a theme template. #45711

@scruffian

Description

@scruffian

What problem does this address?

If themes ship with templates, it is impossible for users to opt out of them. For example if a block theme contains a front-page.html file then users have no way to stop this template from being used on the front of their site.

What is your proposed solution?

There should be a mechanism whereby users can opt out of a default theme template.

Here's just a rough design to get the ball rolling:
Screenshot 2022-11-10 at 12 28 29

  1. Adds a "deactivate" option to the template
  2. Show inactive templates as grey.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Feature] Templates APIRelated to API powering block template functionality in the Site Editor[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