Home › Forums › Feature Requests › Repeater/Flexible Content version of setup_postdata() › Reply To: Repeater/Flexible Content version of setup_postdata()
The particular limitation is listed in the documentation:
“2. have_rows() nested clone field
The have_rows() function will return false when loading a cloned sub field using the ‘Display = Block’ setting. Please note that using the ‘Seamless’ display setting will allow sub have_rows() loops to work as expected.”
Unfortunately the Seamless display mode doesn’t work for my purposes, so I’m stuck with grouped. I know Elliot has mentioned trying to remove some of these limitations in the past, so this is in part intended to be a suggestion on how he might accomplish that. Beyond that though I can think of some non-clone field applications where such a thing might be handy.
I’ve already written replacements for the various ACF functions for my own use case, but I’d prefer to be able to use the standard ACF code for consistency.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2023 Advanced Custom Fields.