Support

Account

Home Forums Add-ons Flexible Content Field Display a flexible content field with foreach() ?

Unread

Display a flexible content field with foreach() ?

  • Hello and thanks in advance for the help!

    I have a flexible content field nested in a repeater field’s foreach loop. It is not displaying when I use the method prescribed in the documentation (if, while statements).

    I’m assuming that it would work if it was a nested foreach statement instead? But, I’m not sure or you’re even able to use foreach with the flexible content field.

    I am doing it this way in an effort to have access to values from the previous repeater row as discussed here: https://support.advancedcustomfields.com/forums/topic/get-value-from-next-row-in-repeater/

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.