跳转到主要内容

最近更新的页面

Quick-Start Guide

WordPress 主题手册

The first step is always the hardest to take. Now that you’ve made it this far into the Getting S...

由 壳壳虫 更新于 2 个月前

Block Variations

WordPress 主题手册

The Block Variations API is a powerful feature that allows you to extend any registered blocks. B...

由 壳壳虫 更新于 2 个月前

Block Stylesheets

WordPress 主题手册

When styling blocks, you should always do so via the theme.json styles property if possible. Thi...

由 壳壳虫 更新于 2 个月前

Block Style Variations

WordPress 主题手册

Block style variations (block styles, for short) let you create alternate styles for individual b...

由 壳壳虫 更新于 2 个月前

Block Patterns (Archived)

WordPress 主题手册

This documentation article has now been archived and replaced with the newer Patterns chapter of ...

由 壳壳虫 更新于 2 个月前

Feedback

WordPress 主题手册

Giving Feedback We welcome suggestions to improve the article, whether it is to add new topics or...

由 壳壳虫 更新于 2 个月前

Theme Structure

WordPress 主题手册

In the Getting Started chapter, you learned the basics of what a theme is and how to get one up a...

由 壳壳虫 更新于 2 个月前

Templates

WordPress 主题手册

In block themes, templates are made up of a collection of blocks. You might have a Site Logo bloc...

由 壳壳虫 更新于 2 个月前

Main Stylesheet (style.css)

WordPress 主题手册

As described in Theme Structure, WordPress requires that all themes include a style.css file. It...

由 壳壳虫 更新于 2 个月前

Including Assets

WordPress 主题手册

Many block themes do not need to load any assets. For design aspects, specifically, much of this ...

由 壳壳虫 更新于 2 个月前

Global Settings and Styles

WordPress 主题手册

As you learned in Theme Structure, theme.json is a standard file that WordPress looks for in you...

由 壳壳虫 更新于 2 个月前

Custom Functionality (functions.php)

WordPress 主题手册

This document will introduce you to the functions.php file. It is one of the optional standard f...

由 壳壳虫 更新于 2 个月前

Comment Template

WordPress 主题手册

WordPress displays comments in your theme based on the settings and code in the comments.php fil...

由 壳壳虫 更新于 2 个月前

Taxonomy Templates

WordPress 主题手册

When a visitor clicks on a hyperlink to category, tag or custom taxonomy, WordPress displays a pa...

由 壳壳虫 更新于 2 个月前

Post Template Files

WordPress 主题手册

There are many template files that WordPress uses to display the Post post type. Any content deal...

由 壳壳虫 更新于 2 个月前

Partial and Miscellaneous Template Files

WordPress 主题手册

Introduction Not all template files generate the entire content that will be rendered by the brow...

由 壳壳虫 更新于 2 个月前

Page Templates

WordPress 主题手册

Page templates are a specific type of template file that can be applied to a specific page or gro...

由 壳壳虫 更新于 2 个月前

Custom Post Type Template Files

WordPress 主题手册

The WordPress theme system supports custom templates for custom post types. Custom templates for ...

由 壳壳虫 更新于 2 个月前

Attachment Template Files

WordPress 主题手册

Attachments are a special post type that holds information about a file uploaded through the Word...

由 壳壳虫 更新于 2 个月前

List of Template Tags

WordPress 主题手册

Complete List of Template Tags Template tags files are stored in the wp-includes directory. The ...

由 壳壳虫 更新于 2 个月前