23 Nov

- Tagged in "Guides" -

How to Include ACF PRO in a Plugin or Theme

To include ACF PRO within your plugin or theme, first make sure you are following the rules and conditions, and then download the appropriate ACF plugin files and copy them into your plugin or theme. We recommend using the folder includes/acf within your codebase. Next, use the following code as a starter to customize and […]

Continue Reading

23 Nov

Including ACF Within a Plugin or Theme

Introduction The Advanced Custom Fields plugin is a powerful tool for developing bespoke websites and web-apps. Although designed primarily for individual use, it may also be used as a framework by both plugin and theme authors to power the... Continue Reading

23 Nov

How to Update

This guide shows how to update the Advanced Custom Fields and Advanced Custom Fields PRO plugins on your website. Updates can be applied by either of the two methods shown below. One Click Update   The Advanced Custom fields plugin can... Continue Reading

15 Nov

License Activations

ACF PRO has always required a license to use PRO features and this will shortly be enforced in the plugin. Sites without an active license will display a warning in the ACF screens as of ACF 6.2.3, and will have the following restrictions i... Continue Reading

11 Oct

ACF Blocks: Using InnerBlocks and Parent/Child Relationships

In this tutorial, we’ll show you how to utilize the InnerBlocks component within an ACF Block. We’ll also demonstrate how you can leverage relationships to nest blocks while limiting their discoverability. By the end of the tuto... Continue Reading

3 Oct

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:... 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