ACF Repeater not showing data

Hey, I am trying to display the data of a repeater but just can’t get anything to show.

I’ve created the following:

Field-Group “Projekte”
Field “Beschreibung”
Field “Achievements” (Repeater)
Field “Achievement”
Field “Bilder” (Repeater)
Field “Bild”
Field “Beschreibung”

So Basically I have 2 Repeaters that I want to display.

I’ve set up a row as a provider with with the Posts being “Projekt”
This already shows the Title and the “Beschreibung” Field.

Inside this Row I have a colum with a Grid set as a dynamic content provider with {{dc:acf:post_field field=“bilder”}} and a div as a dynamic content provider with {{dc:acf:post_field field=“achievements”}} and they both show nothing.

I’m kind of confused as of how to really do it. I’ve watched the Video on nesting repeaters and it seems pretty simple but I can’t get it to work and hope you can help me out

Thx in advance,
Phil

Hey @PhilTone,

Thanks for reaching out!

For your achievement to show up, you need to enable the Looper Consumer in your headline element. Then instead of using {{dc:acf:post_field field="achievement"}} to call the repeater data, you should use {{dc:looper:item}}.

Hope that helps.

Thx for the reply - I’ve got it working.

What I did was:

Create container and set as provider with “dynamic content” and “{{dc:looper:item}}”.
Inside this container create another container and set to provider with “dynamic content” and “{{dc:acf:post_field field=“achievements”}}”.
Inside that container I have my Headlines set to consumer with “{{dc:looper:item}}” as the content.

Now it shows everything like it should.
I did the same for the Container with the Pictures and it works like it should.

Hi @PhilTone,

Glad to know that everything is working now.

Thanks

I have one more question:
What doesn’t seem to be working is the count offset.

I’m trying to create a layout with the images switching from left to right and therefore need a grid wich displays an image and the description text for it.

When I use the offset function nothing happens. Is there anything I need to be aware of?

Hey @PhilTone,

You can try this approach, alternating layouts using Loopers.

Create a row with a column then add 2 grid elements. Each grid has 2 columns for the left and right content. For example, the first grid is left title/text and on the right, it is an image. Then vice versa on the second grid element.

Then in the first Grid element, you need to add a condition element Index is Even and for the second Grid element, the condition is Index is Odd.

Hope that helps.

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