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