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
modifying in:
$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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.