Skip to content

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

Open

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.

Activity

  1. added
    [Feature] Site Editor
    on Nov 10, 2022
  2. mtias commented on Nov 14, 2022

    @mtias
    Member

    This is an important gap to address. In the future, it'd be good to group disabled templates in a filter. The view when a template is disabled lacks information, though. It should probably read "disabled" where the ellipsis shows.

  3. added
    [Type] Enhancement
    [Feature] Templates API
    on Aug 1, 2023
  4. jasmussen commented on Nov 13, 2026

    @jasmussen
    Contributor

    I'm reopening this issue based on conversation in #39324.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Site Editor[Feature] Templates API[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions