Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scruffian opened this issue Nov 10, 2022 · 1 comment · May be fixed by #67125
Open

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

scruffian opened this issue Nov 10, 2022 · 1 comment · May be fixed by #67125
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Feature] Templates API Related to API powering block template functionality in the Site Editor [Type] Enhancement A suggestion for improvement.

Comments

@scruffian
Copy link
Contributor

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.
@scruffian scruffian added the [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") label Nov 10, 2022
@mtias
Copy link
Member

mtias commented Nov 14, 2022

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.

@jordesign jordesign added [Type] Enhancement A suggestion for improvement. [Feature] Templates API Related to API powering block template functionality in the Site Editor labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Feature] Templates API Related to API powering block template functionality in the Site Editor [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants