Home › Forums › Add-ons › Gallery Field › Display correctly ACF gallery as wordpress gallery › Reply To: Display correctly ACF gallery as wordpress gallery
thanks for the reply, I tried to enter this code but it does not work properly for me.
I receive this error:
Warning: implode(): Invalid arguments passed in /home/mhd-01/www.ilnuovoweb.it/htdocs/topsito/wp-content/themes/mh-magazine/single.php on line 11
$gallery_images = get_field(‘gallery’, false, false);
echo do_shortcode(‘[gallery ids="'.'"]‘);
the error disappears, but the problem is that if I delete images from the gallery in the front end we continue to see, even if I delete the cache
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.