Support

Account

Home Forums Add-ons Repeater Field Making Repeater work in a theme (Headway) Reply To: Making Repeater work in a theme (Headway)

  • Are you outputting all of the sub fields in the same loop?

    
    <?php
    // check if the repeater field has rows of data
    if( have_rows('video_tutorial') ):
     	// loop through the rows of data
        while ( have_rows('video_tutorial') ) : the_row();
            // display a sub field value
            the_sub_field('title');
            echo '<br>';
            the_sub_field('outline');
            echo '<br>';
            the_sub_field('embed');
            // etc...
    
        endwhile;
    
    else :
    
        // no rows found
    
    endif;
    
    ?>