Transforms ACF's flexible content field's layout list into a modal with image previews.
Author: | Jameel Moses (profile at wordpress.org) |
WordPress version required: | 4.7.0 |
WordPress version tested: | 5.8 |
Plugin version: | 1.0.6 |
Added to WordPress repository: | 17-08-2019 |
Last updated: | 26-08-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | https://github.com/jameelmoses/acf-flexible-c... |
Total downloads: | 6 612 |
Active installs: | 2 000+ |
Click to start download |
Transforms ACF’s flexible content field’s layout list into a modal with image previews.
Image Conventions
- 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 (text-block.jpg
).
Image Location
Images should be placed in your theme. Be fault, images are located here: THEME/lib/admin/images/acf-flexible-content-preview
.
Also note that you can filter this path, but it MUST be in your theme:
add_filter( 'acf-flexible-content-preview.images_path', $path );
NOTE: The path should not have a trailing beginning or trailing slash!
Additionally, you could filter all keys and/or images:
add_filter( 'acf-flexible-content-preview.images', $images );
Issues & Feature Requests
If you identify any errors or have an idea for improving the plugin, feel free to open an issue or create a pull request. Please provide as much info as needed in order to help resolving or approve your request.