Home › Forums › Pre-purchase Questions › Gallery add-on › Reply To: Gallery add-on
Hi @milanomia
The gallery field docs show how you can use a foreach loop to render out the data.
Becuase this uses basic PHP, you can follow this PHP tutorial to understand how to limit the rows:
http://stackoverflow.com/questions/1656969/php-limit-foreach-statement
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.