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

Ensure there's a mechanism for disabling theme templates #37756

Open
erikjoling opened this issue Jan 6, 2022 · 2 comments · May be fixed by #67125
Open

Ensure there's a mechanism for disabling theme templates #37756

erikjoling opened this issue Jan 6, 2022 · 2 comments · May be fixed by #67125
Labels
[Feature] Templates API Related to API powering block template functionality in the Site Editor [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Type] Enhancement A suggestion for improvement.

Comments

@erikjoling
Copy link

erikjoling commented Jan 6, 2022

What problem does this address?

Let's say I have a simple setup for my website where I need only a couple of templates: index (archive) and singular. When a theme declares a lot of templates, for example index, home, archive, page and post, I need to overwrite them all to get the same consistency. Then, when I want to change one thing I need to change them all again. This feels redundant and is hard to maintain.

What is your proposed solution?

In the template list, allow users to disable templates which are offered by themes. Then I can just fallback to only the basic templates like index and singular.

@erikjoling
Copy link
Author

Similar to #29144, but not the same at all :)

@annezazu annezazu added [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Type] Enhancement A suggestion for improvement. labels Jan 6, 2022
@skorasaurus
Copy link
Member

(was about to close as a dupe and it took me a second to realize the difference ;))

@skorasaurus skorasaurus added the [Feature] Templates API Related to API powering block template functionality in the Site Editor label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Templates API Related to API powering block template functionality in the Site Editor [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants