Nested ACF Repeater
-
I successfully used this function to configure repeater fields from Advanced Custom Fields: https://notnil-creative.com/blog/archives/2913
Trying to make it work for nested repeaters, but I’m having trouble with the logic. My nested repeater looks like this:
– Location (repeater)
— Location Name (text field)
— Images (repeater)I’ve tried nesting the foreach statement within each of the elseifs, in order to get the images repeater to nest into the location repeater. But its not creating the result I’m looking for.
If anyone understands the logic here and can point me in the right direction it would be very much appreciated!
- The topic ‘Nested ACF Repeater’ is closed to new replies.