Support

Account

Home Forums Add-ons Repeater Field Repeater with 2 sets of rows wont display both

Unread

Repeater with 2 sets of rows wont display both

  • The rows ‘rest_of_the_team’ won’t render.

    BUT if I duplicate the code whole row block (ie, 3 rows) the 1st and 3rd row display.

    <?php  if( have_rows('founders') ):?>
      <?php while ( have_rows('founders') ) : the_row(); // start loop ?>
        <?php the_sub_field('founder_name'); ?>
        <?php the_sub_field('founder_position'); ?>
         <?php the_sub_field('founder_bio'); ?>
       <?php endwhile; ?>
     <?php endif; ?>
     <?php  if( have_rows('rest_of_the_team') ):?>
       <?php while ( have_rows('rest_of_the_team') ) : the_row(); // start loop ?><?php the_sub_field('team_name'); ?>
         <?php the_sub_field('team_info'); ?>
       <?php endwhile; ?>
    <?php endif; ?>
Viewing 1 post (of 1 total)

The topic ‘Repeater with 2 sets of rows wont display both’ is closed to new replies.