Support

Account

Home Forums Add-ons Repeater Field Select output inside repeater Reply To: Select output inside repeater

  • Seems as if my choice of how I set the repeater up was causing the issue. I had success with the below code:

        if( have_rows('grid') ):
         while( have_rows('grid') ): the_row();
    
          $image = get_sub_field('image');
          $value = get_sub_field('image_size');
    
          echo '<div>';
          echo wp_get_attachment_image( $image, $value );
          echo '</div>';
    
        endwhile;
        endif;