Support

Account

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();