跳转到主要内容

最近更新的页面

Updating Your Theme

WordPress 主题手册

There are two ways to update your theme, by uploading a Zip file or using subversion (SVN). Uploa...

由 壳壳虫 更新于 2 个月前

Theme Review Guidelines

WordPress 主题手册

The WordPress Themes Team provides and maintains the theme review guidelines as part of their tas...

由 壳壳虫 更新于 2 个月前

Testing

WordPress 主题手册

If you’ve followed this handbook, you’ll already have a good grasp on the testing required before...

由 壳壳虫 更新于 2 个月前

Submitting Your Theme to WordPress.org

WordPress 主题手册

Before themes are added to the WordPress Theme Directory, they are closely reviewed by the Themes...

由 壳壳虫 更新于 2 个月前

Required Theme Files

WordPress 主题手册

Block theme: See Create a Block Theme for building a block theme Classic themes must include the ...

由 壳壳虫 更新于 2 个月前

Using PHP in Patterns

WordPress 主题手册

One of the biggest advantages of patterns over features like templates and template parts is that...

由 壳壳虫 更新于 2 个月前

Usage in Templates

WordPress 主题手册

When building themes, patterns are not merely reusable sections of blocks that users can add to t...

由 壳壳虫 更新于 2 个月前

Starter Patterns

WordPress 主题手册

The WordPress block editor is powerful and can handle many different layouts and designs. However...

由 壳壳虫 更新于 2 个月前

Registering Patterns

WordPress 主题手册

In Introduction to Patterns, you learned how to create patterns from the WordPress admin interfac...

由 壳壳虫 更新于 2 个月前

Patterns and Block Locking

WordPress 主题手册

The Block Locking API is a powerful set of features that lets you lock the behavior of blocks and...

由 壳壳虫 更新于 2 个月前

Introduction to Patterns

WordPress 主题手册

Block patterns (“patterns,” for short) are one of the most powerful features at a theme author’s ...

由 壳壳虫 更新于 2 个月前

Block Type Patterns

WordPress 主题手册

One of the most useful capabilities of patterns is the ability to tie them directly to one or mor...

由 壳壳虫 更新于 2 个月前

Using Presets

WordPress 主题手册

In the theme.json Settings documentation, you learned how to register custom presets, such as a ...

由 壳壳虫 更新于 2 个月前

Styles Reference

WordPress 主题手册

This is a reference to the available style properties that you can apply to the root element (glo...

由 壳壳虫 更新于 2 个月前

Applying Styles

WordPress 主题手册

Traditionally, theme authors would style everything from a stylesheet—and they still sometimes mu...

由 壳壳虫 更新于 2 个月前

Use Root Padding Aware Alignments

WordPress 主题手册

The settings.useRootPaddingAwareAlignments property can be one of the most confusing settings in...

由 壳壳虫 更新于 2 个月前

Typography

WordPress 主题手册

Typography is a wide-ranging subject in web design, and no single piece of documentation could do...

由 壳壳虫 更新于 2 个月前

Spacing

WordPress 主题手册

Spacing is one of the most complex parts of web design. It involves combining things like margin,...

由 壳壳虫 更新于 2 个月前

Shadow

WordPress 主题手册

The settings.shadow property in theme.json currently lets you create custom shadow presets. As ...

由 壳壳虫 更新于 2 个月前

Settings Reference

WordPress 主题手册

The document is a reference to the available settings properties that you can configure via the ...

由 壳壳虫 更新于 2 个月前