Flexible Layout Preview Image for ACF

Plugin demo instructions and functionality described how to use the plugin using each functionality please check ahead for the more scroll it to down.

Documentation

Please see the documentation of the “Flexible Layout Preview Image for ACF” plugin.

Overview

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.

For any Feedback and Queries please contact at vivek.jha@galaxyweblinks.in

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.

Getting Started

Requirements –

To get the best experience with this Flexible Layout Preview Image for ACF plugin, we recommend the following:

PHP  7.4 or later
MySQL 5.6 or later
WordPress 4.7 or later

To be sure about the above requirements, contact your hosting vendor.

Installation & Activation

This content explains how to install the plugin and get it working.

This plugin can be installed directly from your site.

Log in and navigate to Plugins → Add New.
Type “Flexible Layout Preview Image for ACF” into the Search and hit Enter.
Locate the Flexible Layout Preview Image for ACF in the list of search results and click Install now.
Once installed, click the Activate link.

It can also be installed manually.

Download the Flexible Layout Preview Image for ACF from WordPress.org.
Unzip the package and move it to your plugins directory.
Login to the WordPress and navigate to the Plugins screen.
Locate the Flexible Layout Preview Image for ACF in the list and click the Activate link.

Reviews Plugin Activation Tracker

We hope you enjoy using the Flexible Layout Preview Image for ACF. Please note that we are always trying to improve it.

Add Review

Thanks so much in advance!

FAQs

Q. What is required for this plugin to work?

Ans. You need to have the Advanced Custom Fields (ACF) plugin installed and active on your WordPress site.

Q. Where do I place my custom layout preview images?

Ans. Place your images in your active theme’s directory at /lib/admin/images/flexible-layout-preview-image-for-acf/. The images should be named according to your ACF layout names (e.g., layout-name.jpg).

Q. What if an image is not found?

Ans. If an image for a specific layout is not found in the specified directory, the plugin will display a default image.

Q. Can I customize the path where images are loaded from?
Ans. Yes, developers can use the flexible_layout_preview-image_for_acf_images_path filter to customize the path where images are loaded from.= Can I use this plugin without ACF? = No, this plugin requires Advanced Custom Fields (ACF) to function properly.
Q. Can I use this plugin without ACF?

Ans. No, this plugin requires Advanced Custom Fields (ACF) to function properly.