How to access ACF fields in a repeater group

Hi all! I need some help on looper providers:

I have ACF fields set up for citations:

A single post can have multiple works cited (so this is a repeater field).

Each cited work is set up as a group, because it has two fields: The title, and a url it was referenced from.

So:

Posts havce a repeater field called ‘citations’

— in the repeater field there is a group field called ‘cited_works’, which contains the following two fields:

------- text field ‘cited_work_title’

------- url field ’ cited_work_url’

But i am really struggling to acces those last two fields with looper / providers.

I have tried the following;

Row set to provider {{dc:acf:post_field field=“citations”}} and consumer to access the repeater field.

Column in the set as provider {{dc:acf:post_field field=“cited_works”}} ’

text element set up as a consumer, with content {{dc:looper:field key=“cited_work_title”}}

Any thoughts? I saw a post from early '21 in this thread Retrieving Field Data inside ACF Repeated Group Fields suggesting this might be possible in a future release… and the future is now :slight_smile:

Hello Tristan,

Thanks for writing in!

Please do check out these video tutorials first:

If these is not helping, please provide us your WP credentials so we can check your work. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

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