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

Add a setting to opt-out of block templates using theme.json #33500

Open
youknowriad opened this issue Jul 16, 2021 · 0 comments
Open

Add a setting to opt-out of block templates using theme.json #33500

youknowriad opened this issue Jul 16, 2021 · 0 comments

Comments

@youknowriad
Copy link
Contributor

@youknowriad youknowriad commented Jul 16, 2021

Right now, themes can opt-out of block templates by using the

remove_theme_support( 'block-templates' );

Since theme.json is becoming the default config file for themes, we should consider adding a way to do the same using a setting in the theme.json file.

cc @aristath @nosolosw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant