跳转到主要内容

最近更新的页面

Block theme accessibility

WordPress 主题手册

Block themes support accessibility and simplify the process for adding accessibility. Landmark Gr...

由 壳壳虫 更新于 2 个月前

Administration Menus

WordPress 主题手册

This is no longer the recommended way to work with theme options. The Customizer API is the recom...

由 壳壳虫 更新于 2 个月前

Accessibility

WordPress 主题手册

A WordPress theme should generate pages everyone can use, including those who cannot see or use a...

由 壳壳虫 更新于 2 个月前

404 Pages

WordPress 主题手册

A 404 page is important to add into your theme in case a user stumbles upon a page that doesn’t e...

由 壳壳虫 更新于 2 个月前

Tools for Improved User Experience

WordPress 主题手册

Contextual Controls, Sections, and Panels WordPress 4.0 and 4.1 also added support for making par...

由 壳壳虫 更新于 2 个月前

The Customizer JavaScript API

WordPress 主题手册

In WordPress 4.1, newly-expanded JavaScript APIs were introduced for all customizer objects. The ...

由 壳壳虫 更新于 2 个月前

JavaScript/Underscore.js-Rendered Custom Controls

WordPress 主题手册

WordPress 4.1 also added support for rendering JavaScript-heavy and/or high-quantity controls ent...

由 壳壳虫 更新于 2 个月前

Customizer Objects

WordPress 主题手册

The Customize API is object-oriented. There are four main types of Customizer objects: Panels, Se...

由 壳壳虫 更新于 2 个月前

Advanced Usage

WordPress 主题手册

The customize API is actively developed; this page contains additional more advanced topics. Addi...

由 壳壳虫 更新于 2 个月前

Tools & Resources

WordPress 主题手册

Whether you’re building your very first theme or your tenth, the following resources are meant to...

由 壳壳虫 更新于 2 个月前

Theme Functions

WordPress 主题手册

Functions.php can be used by both classic themes, block themes, and child themes. The functions....

由 壳壳虫 更新于 2 个月前

The Loop

WordPress 主题手册

The Loop is the default mechanism WordPress uses for outputting posts through a theme’s template ...

由 壳壳虫 更新于 2 个月前

Template Tags

WordPress 主题手册

Template tags are used within themes to retrieve content from your database. The content could be...

由 壳壳虫 更新于 2 个月前

Template Hierarchy

WordPress 主题手册

As discussed, template files are modular, reusable files, used to generate the web pages on your ...

由 壳壳虫 更新于 2 个月前

Template Files

WordPress 主题手册

Template files are used throughout WordPress themes, but first let’s learn about the terminology....

由 壳壳虫 更新于 2 个月前

Reworking Theme Files & Organization

WordPress 主题手册

Theme folder and file structure While WordPress themes technically only require two files ( index...

由 壳壳虫 更新于 2 个月前

Post Types

WordPress 主题手册

There are many different types of content in WordPress. These content types are normally describe...

由 壳壳虫 更新于 2 个月前

Organizing Theme Files

WordPress 主题手册

While WordPress themes technically only require two files ( index.php in classic themes and inde...

由 壳壳虫 更新于 2 个月前

Main Stylesheet (style.css)

WordPress 主题手册

The style.css is a stylesheet (CSS) file required for every WordPress theme. It controls the pres...

由 壳壳虫 更新于 2 个月前

Linking Theme Files & Directories

WordPress 主题手册

Linking to Core Theme Files As you’ve learned, WordPress themes are built from a number of differ...

由 壳壳虫 更新于 2 个月前