Support

Account

Home Forums Add-ons Flexible Content Field Need help for correct markup for nested flexible content field Reply To: Need help for correct markup for nested flexible content field

  • Hello John!

    Thanks for your quick reply! I just changed

    if( have_rows('reihe') ):

    to

    if( have_rows('linke_spalte') ):

    but unfortunately this doesn’t work eather either. The code I posted at least shows the content of linke_spalte but not the content of rechte_spalte.

    What I actually miss my self in my markup is the following:

    In row 4 I am asking for if( get_row_layout() == 'reihe' ): For me that seems to be correct because this is the parent flexible content. But later in the code there is no
    if( get_row_layout() == 'linke_spalte' ):
    or
    if( get_row_layout() == 'rechte_spalte' ):

    for children flexible content

    Is this maybe the mistake? In case what is the right markup for it?