Home › Forums › ACF PRO › showing field from repeater from one page on another via dynamic select field › Reply To: showing field from repeater from one page on another via dynamic select field
I do not see you trying to fetch the image anywhere. If it is a subfield of the repeater, you should be able to use get_sub_field('the_image_field_name');
.
Here you are fetching the name twice:
$value = get_sub_field('name');
$label = get_sub_field('name');
Is that intentional?
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.