Support

Account

Home Forums Add-ons Repeater Field One repeater in two different div

Unread

One repeater in two different div

  • I have a repeater and two divs, first div contains titles. second slider images.
    Everything working but images sometimes not loading
    Is there any right way to achive this
    My code
    <div class=”bl-4-border”>
    <div class=”sl-pr-nav”>
    <?php $i = -1;?>
    <?php while( have_rows(‘слайдер_маршрута’) ): the_row(); $i++;?>
    <span data-nomer=”<?php echo $i;?>”><?php the_sub_field(‘заголовок_слайдера_маршрута’);?></span>
    <?php endwhile; reset_rows()?>
    </div>
    <div id=”slider-primer”>
    <?php while( have_rows(‘слайдер_маршрута’) ): the_row(); ?>

    <?php endwhile; ?>
    </div>

    </div>

Viewing 1 post (of 1 total)

The topic ‘One repeater in two different div’ is closed to new replies.