Home › Forums › Add-ons › Flexible Content Field › Page Builder › Reply To: Page Builder
Thank you for your reply John,
YES, this solved my issues. But because I am now doing flexible content within flexible content (both using cloned fields)
The data is not being pulled? It is storing in the database correctly but nothing is being pulled..
while ( have_rows( $id ) ) : the_row();
if( get_row_layout() == 'content' ):
flexi_get_template_part( 'content' );
elseif( get_row_layout() == 'accordian' ):
flexi_get_template_part( 'accordian' );
elseif( get_row_layout() == 'contact_form' ):
flexi_get_template_part( 'contact-form' );
elseif( get_row_layout() == 'columns' ):
//THIS IS WHERE I AM TRYING TO LOOP THROUGH MY CLONED SUB COLUMNS.
$arr = get_defined_vars();
print_r($arr);
endif;
endwhile;
If you see in the columns, all it returns is $id string. It seems that nested flexible content is not supported?
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.