Advanced Custom Fields (ACF) Flexible Content Field is a WordPress Plugin for ACF being developed by Elliot Cordon. The Flexible content field acts as a blank canvas to which you can add an unlimited number of layouts with full control over the order. The options page feature provides a set of functions to add extra admin pages to edit ACF fields! Each admin page can be fully customized (see code examples below), and sub-admin pages can be created too!
Transforms ACF’s flexible content field’s layout list into a modal with image previews.
- The size of the image should be 732 x 300.
- They should be named based on the layout’s name (
text_block) with underscores converted to dashes (
Images should be placed in your theme. Be fault, images are located here:
- Create simple or complex flexible content layouts
- Define groups of subfields
- And more…
This plugin works only if the ACF Pro >= 5.7.O plugin is installed and activated.
- ACF Pro >= 5.7.O plugin
- WordPress 4.7+ because of
- Tested up to WP 5.3
- PHP 5.6+
From your WordPress dashboard
- Visit Plugins > Add New
- Search for “Flexible Content Preview for Advanced Custom Fields”
- Activate Flexible Content Preview for Advanced Custom Fields from your Plugins page
- Add images to your theme in
THEME/lib/admin/images/acf-flexible-content-previewor customize the path using
add_filter( 'acf-flexible-content-preview.images_path', $path );
The Flexible Content Field can be installed by purchasing a license for ACF PRO. On payment, you will receive a receipt from ACF and a user account allowing access to your downloads. Once ACF PRO is installed, enter your license key to enable plugin updates.
The Flexible Content Field may also be installed by purchasing a license for this add-on. On payment, you will receive a receipt from ACF and a user account allowing access to your downloads. Once the add-on is installed (requires the free version of ACF to also be installed) you will not need to enter any license key information.