本文档是WordPress主题开发的综合指南,面向从新手到经验丰富的开发者,涵盖块主题和经典主题的构建方法。它提供了从基础概念到高级主题的全面学习路径,帮助开发者理解主题类型差异并选择适合的开发方向。
Welcome to the WordPress Theme Developer Handbook, your resource for learning all about the exciting world of WordPress themes.
The Theme Developer Handbook is a repository for all things WordPress themes. Whether you’re new to WordPress themes, or you’re an experienced theme developer, you should be able to find the answer to many of your theme-related questions right here.
In this handbook, you can learn how to build block themes or classic themes.
It is recommended to read through both the block theme section and the classic theme sections. This will give you an understanding of the differences between the two types of themes, and help you choose what type of theme to build.
If you’ve got to grips with the basics of themes, check out the Advanced Theme Topics to learn about child themes, best UI practices, theme testing and more.
Once you’ve got your theme ready for the world, the final section will cover releasing your theme, teaching you some best practices for theme distribution, and for getting it ready for the WordPress.org theme directory.
The WordPress Theme Developer Handbook is created by the WordPress community, for the WordPress community. We are always looking for more contributors; if you’re interested stop by the docs team blog to find out more about getting involved.