Support

Account

Home Forums Add-ons Repeater Field Repeater to show certain row Reply To: Repeater to show certain row

  • For some reason, it solved my problem on one of my pages (the one with the first row). However, for the other pages that need a row further down in the repeater, nothing is displayed.

    In fact, I made the discovery that getting rid of the contents of my inner if, it still only displays the first column. Even with the inner contents gone.

                if (have_rows('mermaid_tail_brand_checklists', 'option')):
    
                    if (have_rows('mermaid_tail_brand_checklists', 'option')) : the_row();
    
                        if (get_sub_field('brand_name') == the_title()) {
                            the_sub_field('brand_name'); //both of these do not make a difference in the display if they are deleted
    
                            the_sub_field('brand_logo'); //both of these do not make a difference in the display if they are deleted
                        }
    
                    endif;
    
                else :
    
                // no rows found
    
                endif;