Home › Forums › ACF PRO › Post Object inside Repeater on a Taxonomy template returns first instance only › Reply To: Post Object inside Repeater on a Taxonomy template returns first instance only
i think the have_rows('services_managers', $term_id)
doesn’t seem correct. try passing the whole $term
object and see if that fixes it. if not, then just don’t setup the post data.
if you alread have the $post object, then you ahve the title $post->post_title
and the id $post->ID
.
https://codex.wordpress.org/Class_Reference/WP_Post
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.