Content title: Adding theme.json to classic themes
Topic description:
Do you or a client have a site using a classic theme? You may want to consider adding a theme.json file. Your project’s budget or lack of time might be preventing you from tackling a complete conversion of your classic theme to a block theme. By adding a theme.json file, you can simplify and streamline your Editor's options and you will quickly see the benefits.
You might be looking to gain control of global settings and styles so you can create less overwhelm and confusion with too many user options in the Editor. For example, you could choose to remove the ability to select custom colors or the default color palette from WordPress core. Or, you may want to create a website with more consistent visual elements and maintain branding. For example, you could choose to disable color support for the heading block.
With this workshop, we will take a classic theme and walk you through the process of adding a theme.json file. We will also take a brief look at the current theme.json file that ships with WordPress core. At the end, we’ll have an open discussion on converting classic themes to either hybrid or block themes.
Details
Do you or a client have a site using a classic theme? You may want to consider adding a theme.json file. Your project’s budget or lack of time might be preventing you from tackling a complete conversion of your classic theme to a block theme. By adding a theme.json file, you can simplify and streamline your Editor's options and you will quickly see the benefits.
You might be looking to gain control of global settings and styles so you can create less overwhelm and confusion with too many user options in the Editor. For example, you could choose to remove the ability to select custom colors or the default color palette from WordPress core. Or, you may want to create a website with more consistent visual elements and maintain branding. For example, you could choose to disable color support for the heading block.
Learning Objectives
With this workshop, we will take a classic theme and walk you through the process of adding a theme.json file. We will also take a brief look at the current theme.json file that ships with WordPress core. At the end, we’ll have an open discussion on converting classic themes to either hybrid or block themes.
Related Resources and Other Notes
Automation Code