Themes.json Guide

In WordPress, theme.json is the configuration file for block-based themes. It allows you to define global settings and styles that apply to both the front end and the editor.

: Assigns specific styles (like font size or background color) to elements or blocks. templateParts : Registers parts like headers or footers. Quick Template themes.json

A standard theme.json file is placed in your theme's root directory and typically includes these sections: : Specifies the API version (currently 2 or 3). In WordPress, theme

: Enables/disables UI tools and defines presets like your color palette and typography. themes.json