23 Nov

- Tagged in "How To" -

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

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

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

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

20 Sep

How to help translate ACF into other languages

ACF 6.0 introduces a new way of collecting translations from our contributors. For all the strings contained in the free version of ACF, these are now collected from translate.wordpress.org. Many of you have submitted translations for numer... Continue Reading