3 Oct

- Tagged in "Guides" -

How to Create an Options Page

Options pages are setting pages in the WordPress admin area containing fields with the ability to control global options. This allows builders or clients to make one change and update content that appears in many places throughout the site: contact information, calls-to-action, or notifications about sales and special events. A more advanced options page could […]

Continue Reading

29 Sep

Conditional Logic

Overview Conditional logic allows you to set rules regarding when a custom field should appear, based on the values of other fields in the same field group. The “Conditional Logic” setting tab is available for most ACF field types, givi... Continue Reading

28 Sep

ACF Blocks: Using get_block_wrapper_attributes()

The get_block_wrapper_attributes() function allows you to use the styles built by WordPress’ native supports for a block, such as background and text colors, padding, margin, etc. In the block editor, this is automatically output for ... Continue Reading

27 Sep

How to Query Posts by Custom Fields

This article demonstrates how to retrieve an array of post objects from the database using native WordPress functions. There are many ways to query posts in WordPress, however, this article will make use of the common get_posts function, WP... Continue Reading

5 Jun

How to Use the Clone Field

The Clone field helps create reusable data structure components that you can pull into other field groups using ACF PRO. It gives you a way to create smaller composable field groups, and clone them into larger, more complex groups. It’s i... Continue Reading

26 Apr

How to Use the Gallery Field

The Gallery field gives you the flexibility to display images in a wide variety of options such as carousels, sliders, and light boxes. However, the Gallery field’s greatest strength might be what it lets you offer content editors: a simp... Continue Reading

11 Apr

Move Fields Between Field Groups

Once a field is created in one field group, it can be moved to another field group. This allows you to easily reorganize your fields when required, without direct database queries or the need to import a modified JSON file. Moving Fields To... Continue Reading

3 Apr

Registering a Custom Post Type

Overview Post Types are great for storing data objects other than posts and pages, where WordPress provides an admin UI for managing your data and a URL structure for viewing them on the frontend of the site. Add New To register a new post ... Continue Reading

3 Apr

Registering a Custom Taxonomy

Overview Taxonomies are used to classify and categorize individual posts for a post type. WordPress provides an admin UI for managing terms in a taxonomy and categorizing posts with terms. Add New To register a new taxonomy, navigate to the... Continue Reading

24 Mar

How to Use the Repeater Field

The Repeater field is essentially a way to organize and display data, specifically “repeating” content like slides, team member bios, and events. This is true, but it doesn’t really capture all the capabilities of this amazing field. ... Continue Reading