Home › Forums › General Issues › Getting fields of multiple posts with one call › Reply To: Getting fields of multiple posts with one call
hi,
if you are trying to get them inside a loop (setting the specific post id you want in your arguments or getting all your posts).
i would create an empty array before the loop then in the loop create a new array inside that array with the post id and push inside that array the meta you want in a key=>value format.
once the loop finish you should be able to get from that array the informations you want.
is that what you was looking for?
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.