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?
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.