Home › Forums › Front-end Issues › gallery Array › Reply To: gallery Array
As I said, the gallery field is one of the more complicated fields.
Yes, you would replace THE_NAME_OF_YOUR_GALLERY_FIELD
with the name of your gallery field and then where it says // do something special for gallery fields
you would add code that output the gallery the way you want.
Did you look at the link I gave you? There are several examples of code for showing a gallery in different ways. https://www.advancedcustomfields.com/resources/gallery/
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.