最近更新的页面
Updating Your Theme
There are two ways to update your theme, by uploading a Zip file or using subversion (SVN). Uploa...
Theme Review Guidelines
The WordPress Themes Team provides and maintains the theme review guidelines as part of their tas...
Testing
If you’ve followed this handbook, you’ll already have a good grasp on the testing required before...
Submitting Your Theme to WordPress.org
Before themes are added to the WordPress Theme Directory, they are closely reviewed by the Themes...
Required Theme Files
Block theme: See Create a Block Theme for building a block theme Classic themes must include the ...
Using PHP in Patterns
One of the biggest advantages of patterns over features like templates and template parts is that...
Usage in Templates
When building themes, patterns are not merely reusable sections of blocks that users can add to t...
Starter Patterns
The WordPress block editor is powerful and can handle many different layouts and designs. However...
Registering Patterns
In Introduction to Patterns, you learned how to create patterns from the WordPress admin interfac...
Patterns and Block Locking
The Block Locking API is a powerful set of features that lets you lock the behavior of blocks and...
Introduction to Patterns
Block patterns (“patterns,” for short) are one of the most powerful features at a theme author’s ...
Block Type Patterns
One of the most useful capabilities of patterns is the ability to tie them directly to one or mor...
Using Presets
In the theme.json Settings documentation, you learned how to register custom presets, such as a ...
Styles Reference
This is a reference to the available style properties that you can apply to the root element (glo...
Applying Styles
Traditionally, theme authors would style everything from a stylesheet—and they still sometimes mu...
Use Root Padding Aware Alignments
The settings.useRootPaddingAwareAlignments property can be one of the most confusing settings in...
Typography
Typography is a wide-ranging subject in web design, and no single piece of documentation could do...
Spacing
Spacing is one of the most complex parts of web design. It involves combining things like margin,...
Shadow
The settings.shadow property in theme.json currently lets you create custom shadow presets. As ...
Settings Reference
The document is a reference to the available settings properties that you can configure via the ...