Home › Forums › Add-ons › Gallery Field › Add unique ID to gallery field, so it can be used as a separate post › Reply To: Add unique ID to gallery field, so it can be used as a separate post
Thanks for the code, which looks fine to me.
The only issue I see is:
echo "<h3>".$images['id']."</h3>";
$images is an array and does not contain an ‘id’. Perhaps this is causing a PHP error? But even that would not change the results shown…
If you remove the flexslider classes and just output the images, Is the MARKUP correct?
Perhaps the issue is not with the PHP, but with some JS which is replacing the Markup?
Thanks
E
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.