最近更新的页面
Block theme accessibility
Block themes support accessibility and simplify the process for adding accessibility. Landmark Gr...
Administration Menus
This is no longer the recommended way to work with theme options. The Customizer API is the recom...
Accessibility
A WordPress theme should generate pages everyone can use, including those who cannot see or use a...
404 Pages
A 404 page is important to add into your theme in case a user stumbles upon a page that doesn’t e...
Tools for Improved User Experience
Contextual Controls, Sections, and Panels WordPress 4.0 and 4.1 also added support for making par...
The Customizer JavaScript API
In WordPress 4.1, newly-expanded JavaScript APIs were introduced for all customizer objects. The ...
JavaScript/Underscore.js-Rendered Custom Controls
WordPress 4.1 also added support for rendering JavaScript-heavy and/or high-quantity controls ent...
Customizer Objects
The Customize API is object-oriented. There are four main types of Customizer objects: Panels, Se...
Advanced Usage
The customize API is actively developed; this page contains additional more advanced topics. Addi...
Tools & Resources
Whether you’re building your very first theme or your tenth, the following resources are meant to...
Theme Functions
Functions.php can be used by both classic themes, block themes, and child themes. The functions....
The Loop
The Loop is the default mechanism WordPress uses for outputting posts through a theme’s template ...
Template Tags
Template tags are used within themes to retrieve content from your database. The content could be...
Template Hierarchy
As discussed, template files are modular, reusable files, used to generate the web pages on your ...
Template Files
Template files are used throughout WordPress themes, but first let’s learn about the terminology....
Reworking Theme Files & Organization
Theme folder and file structure While WordPress themes technically only require two files ( index...
Post Types
There are many different types of content in WordPress. These content types are normally describe...
Organizing Theme Files
While WordPress themes technically only require two files ( index.php in classic themes and inde...
Main Stylesheet (style.css)
The style.css is a stylesheet (CSS) file required for every WordPress theme. It controls the pres...
Linking Theme Files & Directories
Linking to Core Theme Files As you’ve learned, WordPress themes are built from a number of differ...