跳转到主要内容

最近更新的页面

Introduction

Timber 主题开发文档

Let’s get familiar with some of the concepts of Timber and Twig. Tutorial theme If you want to st...

由 壳壳虫 更新于 2 个月前

A single post

Timber 主题开发文档

Let’s look at a singular post template in more detail, because echoing a post’s title with {{ po...

由 壳壳虫 更新于 2 个月前

A post archive

Timber 主题开发文档

Here’s how a PHP template file for a WordPress archive looks like. index.php $context = Timber::c...

由 壳壳虫 更新于 2 个月前

Timber v2.x

Timber 主题开发文档

What is Timber? Timber helps you create fully-customized WordPress themes faster with more sustai...

由 壳壳虫 更新于 2 个月前

Network

Carbon Fields 开发者文档

Network containers are used to add pages with options in the Multisite network administration onl...

由 壳壳虫 更新于 2 个月前

Nav Menu Item

Carbon Fields 开发者文档

Nav Menu Item containers are used to extend the Nav Menu edit screens with additional fields. Fie...

由 壳壳虫 更新于 2 个月前

Gutenberg Blocks

Carbon Fields 开发者文档

WordPress 5 introduces a new content creation experience with its new editor called Gutenberg. Gu...

由 壳壳虫 更新于 2 个月前

Conditional Display

Carbon Fields 开发者文档

Containers are very flexible in terms of display options. By default, containers show on all rela...

由 壳壳虫 更新于 2 个月前

Condition Types

Carbon Fields 开发者文档

post_meta conditions Name Description 'post_format' Check against the post format. Use a blank st...

由 壳壳虫 更新于 2 个月前

Comment Meta

Carbon Fields 开发者文档

Comment meta containers add extra fields to the comment edit screens. Field data is stored separa...

由 壳壳虫 更新于 2 个月前

WPML Support

Carbon Fields 开发者文档

Carbon Fields provide out-of-the-box support for WPML with the small exception of the Theme Optio...

由 壳壳虫 更新于 2 个月前

Programatically updating field values

Carbon Fields 开发者文档

Carbon Fields allow you to update field values programatically through the set of carbon_set_{co...

由 壳壳虫 更新于 2 个月前

Custom Datastore

Carbon Fields 开发者文档

The following example allows you to store theme options fields as a serialized array instead of m...

由 壳壳虫 更新于 2 个月前

Integrating with WP_Query

Carbon Fields 开发者文档

Carbon Fields allow you to make Post, Term and User queries based on fields even inside complex f...

由 壳壳虫 更新于 2 个月前

PHP Hooks

Carbon Fields 开发者文档

There are several hooks that allow you to include your custom classes and functionality at the ri...

由 壳壳虫 更新于 2 个月前

JavaScript Hooks

Carbon Fields 开发者文档

To modify the behavior of existing fields, Carbon Fields exposes several hooks. See @wordpress/ho...

由 壳壳虫 更新于 2 个月前

JavaScript API

Carbon Fields 开发者文档

Carbon Fields provide a useful JavaScript API on administration screens with visible containers w...

由 壳壳虫 更新于 2 个月前

Field Name Patterns

Carbon Fields 开发者文档

A Field Name Pattern is a string which is used as a way to refer to a specific field when using t...

由 壳壳虫 更新于 2 个月前

Compacting input variables to fit within PHP's max_input_vars

Carbon Fields 开发者文档

In some cases forms can end up having hundreds of inputs which can cause the save request to exce...

由 壳壳虫 更新于 2 个月前

Support for Bedrock & similar frameworks

Carbon Fields 开发者文档

Carbon Fields has assets that need to be in your public directory in order to be loaded which can...

由 壳壳虫 更新于 2 个月前