Pull ACF data from a Post Object Field inside a repeater field

Hi,

I have a post object field inside a repeater Field and I’m struggling to access the data inside a looper.

The repeater is called “Results” and the post object field is called “Driver”. All I am looking to get is the title from the post object.

Thanks

Hi @stevenburles,

Thanks for reaching out!

To display a post object inside a repeater field, you should change your looper provider (dynamic content) from {{dc:acf:post_field field=“driver”}} to {{dc:looper:field key=“driver”}}. Then in your text element, to call the title of the post object, you need to use this code {{dc:post:title}} then set your text element as looper consumer.

Once you are able to change the settings, you will get the proper data.

Hope that helps.

Hi @marc_a,

Thanks very much! It works great.

Hi @stevenburles,

You’re welcome and it’s our pleasure to help you! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.