I have found this problem as well. With Flexible Content fields, only the first row you add will render in the Gutenberg preview and on the output page. It will save the other rows though. They just don’t display.
I’m using the loop from the documentation:
if ( have_rows('flex_content') ) :
// Loop through the rows of the Flexible Content field
while ( have_rows('flex_content') ) : the_row();
if ( get_row_layout() == 'flex_content_1' ) :
elseif ( get_row_layout() == 'flex_content_2' ) :
elseif ( get_row_layout() == 'flex_content_3' ) :
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
What an amazing year! 🎉 ACF grew by leaps and bounds in 2018 and won't be slowing down for 2019. We have lots of new features planned, but now it is time to rest, recover, and spend valuable time with friends and family. 👨👩👧👦🎄🎁