Home › Forums › Front-end Issues › Can only get 1 post object to show in repeater field that contains 2 post object › Reply To: Can only get 1 post object to show in repeater field that contains 2 post object
That’s what I gave you a short example of. You need to substitute calling functions that allow supplying the current post ID rather than depending on setup_post_data()
to populate $post.
The examples on this site are set up assuming that the main WP query is what your using and not a nested query. They are not good examples if you have queries nested to the 3rd level or more running, which is basically what you have going here.
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.