This topic is: not resolved
-
Hi,
I’ve successfully entered the code in my child theme functions.php file to display my ACF custom images as actual images. However, I would like to be able to have the lightbox effect work on those images, and right now it does not.For example, I have code like this:
function dhvc_woo_product_page_acf_field_custom($value, $field){ if($field == 'image_icon') return ''; return $value; } add_filter('dhvc_woo_product_page_acf_field', 'dhvc_woo_product_page_acf_field_custom',10,2);
What/how do I modify this so that when the image displays, it can be clicked and opened in a lightbox?
Thank you!
-Sarah