I am trying to display the contents of a repeater field in a simple list.
I’m using ACPT for CPT and custom fields.
I have a Query loop to list all the CPTs - all fine.
I then have another Query loop inside to display the list of entries in the repeater field.
The problem is that the Repeater field QL loops correctly, say there are 3 entries in the Repeater group. But it displays all 3 fields together on each loop instead of just the single field.
How do I loop round a repeater group and extract the individual field value?
Sorted.
A new release of ACPT came out ( 1.0.132 ) and this seems to have resolved the problem.
I can now display the Repeater field values as single elements. Just using the field name in the drop down.
I can also now use the Date picker field, something that previously crashed WP when trying to display it.
So all good!
Exactly as it says above.
Loop1 for all the CPT’s or Posts.
Loop2 for the repeater field of the current CPT/Post
Simple text element to display the field using the dynamic data selector.
No idea about ACF though as I don't use it, but expect it should be the same.