Flexible Layout Preview Image for ACF
Flexible Layout Preview Image for ACF is a WordPress plugin that enhances the admin experience by adding custom images to the previews of flexible layouts created using Advanced Custom Fields (ACF). This visual aid helps administrators quickly identify and manage various layout blocks within ACF fle
About this tool.
Flexible Layout Preview Image for ACF is a WordPress plugin that enhances the admin experience by adding custom images to the previews of flexible layouts created using Advanced Custom Fields (ACF). This visual aid helps administrators quickly identify and manage various layout blocks within ACF flexible content fields.
Here’s a link to the documentation for the plugin. This will help you learn more about its features and how to use it. Documentation For any feedback or queries regarding this plugin, please contact our Support team .
Features
- Adds preview images for ACF flexible content layouts in the WordPress admin.
- Automatically detects and applies images stored in your theme directory.
- Allows developers to customize image paths via filters.
- Works seamlessly with the ACF plugin.
How It Works
Place your custom preview images in your theme directory at /lib/admin/images/flexible-layout-preview-image-for-acf/ with filenames matching the ACF layout names (e.g., layout-name.jpg ). The plugin will automatically display these images in the ACF layout preview popups.
Filters
The following filters are available for customization:
- flexible_layout_preview-image_for_acf_images_path : Customize the path to load images from.
- flexible_layout_preview-image_for_acf_images : Modify the array of layout keys and image URLs.
License
This plugin is licensed under the GPLv2 or later. See the LICENSE file for more details.
Getting started.
- 01Upload the Plugin Files : Upload the flexible-layout-preview-image-for-acf folder to the /wp-content/plugins/ directory.
- 02Activate the Plugin : Activate the plugin through the ‘Plugins’ screen in WordPress.
- 03Add Preview Images : Place your layout preview images in your active theme’s directory at /lib/admin/images/flexible-layout-preview-image-for-acf/ with filenames corresponding to the layout names.