Home › Forums › Add-ons › Repeater Field › Repeater field returns string › Reply To: Repeater field returns string
If you have the image field to return an image array then the_sub_field('project_image');
may not output anything. Try print_r(get_sub_field('project_image'));
And you’re correct, you don’t need the ->ID
part if you’re returning the ID for the post object field.
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.