最近更新的页面
Getting Started with ACF
Welcome Advanced Custom Fields is a WordPress plugin which allows you to add extra content fields...
Getting Started with ACF Custom Fields & Field Groups
ACF gives you the power to add structured data to WordPress, creating custom fields and field gro...
get_sub_field_object()
Description Returns the settings of a specific sub field within a have_rows() loop. Each field co...
get_sub_field()
Description Returns the value of a specific sub field value from a Repeater or Flexible Content f...
get_row_layout()
Description Returns the current row layout name within a have_rows() loop. This function becomes...
get_row_index()
Description Returns the current row index within a have_rows() loop. Whilst stepping though the ...
get_row()
Description Returns an array containing all values (in the format name => value) for the current ...
get_fields()
Description Returns an array of field values (name => value) for a specific post. Parameters get_...
get_field_objects()
Description Returns the settings of all fields saved on a specific post. Each field contains many...
get_field_object()
Description Returns the settings of a specific field. Each field contains many settings such as a...
get_field()
Description Returns the value of a specific field. Intuitive and powerful (much like ACF itself ?...
Get values from a widget
All the template functions (get_field, the_field, etc) can be used to load values from a widget, ...
Get values from an options page
All the template functions (get_field, the_field, etc) can be used to load values from an options...
How to get values from a comment
To display custom field values within comments, you will need to setup a custom callback function...
Gallery
Description The Gallery field provides an interactive interface for managing a collection of atta...
Frequently Asked Questions
General Questions What is a custom field? Straight out of the box, WordPress comes with two post ...
Flexible Content
Description The Flexible Content field provides a simple, structured, block-based editor. Using l...
File
Description The File field allows a file to be uploaded and selected by using the native WP media...
Field Settings
Each field contains settings to determine where and how data is loaded and saved. These settings ...
Extending ACF Blocks With Block Supports
Overview The WordPress Block Supports API offers plenty of features to extend your ACF Blocks. Ad...