本章介绍创建 WordPress 块主题所需的基础概念,包括主题结构、标准文件(如 style.css、functions.php 和 theme.json),旨在帮助开发者熟悉主题开发的基本框架。
Welcome to the Core Concepts documentation. The goal of this chapter is to introduce you to the foundational concepts necessary for creating your own WordPress block themes.
The focus of this chapter is to help you familiarize yourself with the basic theme structure and standard files like style.css, functions.php, and theme.json. Once you have these core concepts down, you can more comfortably dive into the later chapters in this handbook.
Use the following links to locate a topic within this chapter. Each article is listed in the recommended reading order for those new to theme development. For those with existing experience creating themes, feel free to jump to the section you need:
style.css file and how to use it.functions.php) and how you can use it to add your own functionality to a theme.theme.json file works in themes with learning pathways to more detailed articles.