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
Thanks for your quick reply! I just changed
if( have_rows('reihe') ):
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
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' ):
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!
📣 “ACF Chat Fridays”— Advanced Custom Fields (@wp_acf) January 31, 2023
The ACF team holds their first open office hours this Friday! Come and talk ACF, and ask questions about building sites with the plugin.
We’d love to see you there!
📆 Friday 3rd Feb - 3pm UTC
👉 Register here - https://t.co/3UtvQbE4CU pic.twitter.com/oTwW9K1XQ0
© 2023 Advanced Custom Fields.