块编辑器开发文档

Theme.json 参考文档

💡 云策文档标注

概述

本文档是 theme.json 架构中定义设置和样式属性的参考指南,适用于 WordPress 主题开发者,帮助理解和使用 theme.json 文件。

关键要点

  • 列出 theme.json 架构中的设置和样式属性
  • 提供版本信息,包括最新版本(Version 3)和旧版本(Version 1、Version 2)
  • 包含迁移到新版本 theme.json 的指导

📄 原文内容

This reference guide lists the settings and style properties defined in the theme.json schema. See the theme.json how to guide for examples and guide on how to use the theme.json file in your theme.

Older versions