Home › Forums › Add-ons › Repeater Field › how would you create multiple galleries with ACF? › Reply To: how would you create multiple galleries with ACF?
Inside of a function like this you need to include the post ID in acf function calls, example have_rows('mbgc_gallery', $post_id)
. You don’t need to include the ID when dealing with sub fields like get_sub_field('mbgc_image')
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.