21 Sep

- Tagged in "Guides" -

ACF Blocks with block.json

Since ACF 6.0, ACF Blocks are registered by using the standard native WordPress function, register_block_type() which loads a block.json file containing all your configuration. ACF hooks into block.json by reading the acf key in the JSON which should be an object of ACF specific configuration. The main configuration keys for block.json are described in the […]

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

20 Sep

How To Upgrade a Legacy Block to block.json With ACF 6

ACF 6.0 introduces support for WordPress’s block.json method of block registration, the recommended way of registering blocks since WordPress 5.8 and newer. You don’t have to upgrade your blocks, but you’ll need to do so if you want t... Continue Reading

20 Sep

What’s new with ACF Blocks in ACF 6

ACF 6.0 includes ACF Blocks Version 2. This next generation of ACF Blocks brings us much closer to the native block experience, while still giving you the PHP based templating language you know as a WordPress developer. In the last few rele... Continue Reading

17 Feb

WP REST API Integration

Learn how to access and update ACF data using the WordPress REST API. Continue Reading

17 Feb

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

17 Feb

Integrating Custom Field Types With the WordPress REST API

Learn how to add custom field types to the WordPress REST API. Continue Reading

17 Feb

HTML Escaping

Introduction ACF 5.10 introduced an important security feature, HTML escaping. First introduced as an experimental feature in ACF 5.9.6, it ensures that all HTML content rendered by ACF is passed through the WordPress wp_kses() function. By... Continue Reading

17 Feb

Custom location rules

Introduction Location rules are used to determine which field groups appear on which admin screen. They are defined when editing a Field Group and consist of a location type, a comparison operator, and a value. One example of a location rul... Continue Reading

17 Feb

Blocks

Introduction Included in ACF PRO is a powerful PHP-based framework for developing custom block types. ACF blocks are highly customisable and powerfully dynamic. They integrate deeply with custom fields allowing PHP developers to create besp... Continue Reading