Home › Forums › Backend Issues (wp-admin) › Weird meta_key's stringing field names together… › Reply To: Weird meta_key's stringing field names together…
I can’t be sure, but, knowing something about the way ACF saves fields I would say
you have a flexible content field named custom_layout_custom_columns
this has a sub field named column_2
so you should only have two while statements using those column names. If custom_columns
was a sub field of custom_layout
what you would see in the db would look something like
custom_layout_1_custom_columns_2_column_2_custom_con....
if( have_rows('custom_layout_custom_columns') ):
while ( have_rows('custom_layout_custom_columns') ) : the_row();
if( have_rows('column_2') ):
while ( have_rows('column_2') ) : the_row();
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.