Support

Account

Home Forums General Issues Get rows from repeater EXCEPT first Reply To: Get rows from repeater EXCEPT first

  • <?php $i = 0; while ( have_rows('publication_images', 148) ) : the_row(); $i++; if ($i != 1) : ?>
    											<div class="each-slide">
    										        <?php echo wp_get_attachment_image(get_sub_field('publication_each_image', 148), 'slider' ); ?>
    										    </div>
    										    ---
    										<?php endif; endwhile; ?>