<div class="kitchen-slider">
<div class="kitchen-slider__wrapper">
<?php if( have_rows('slides') ):
while ( have_rows('slides') ) : the_row(); ?>
<!-- Сюда вам необходимо создать тип поля изображение с возвращаемым типом ссылка на изображение -->
<!-- Название полученного поля вставить в атрибут src в тег img -->
<div class="kitchen-slider__item" data-type="1"><img src="<?php the_sub_field('my_image');?>"/></div>
<?php endwhile; endif;?>
</div>
</div>
<div class="kitchen-slider">
<div class="kitchen-slider__wrapper">
<?php if(have_rows('foto') : ?>
<?php while(have_rows('foto') : the_row(); ?>
<div class="kitchen-slider__item" data-type="1"><img src="https://kuhzavod.ru/upload/iblock/c70/c70d49941e5572e458e68dd65bb227fb.jpg"/></div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
<div class="kitchen-slider__item" data-type="1"><img src="https://kuhzavod.ru/upload/iblock/c70/c70d49941e5572e458e68dd65bb227fb.jpg"/></div>
the_sub_field || get_sub_field
<?php
$images = get_field('foto');
$size = 'full';
if( $images ): ?>
<ul>
<?php foreach( $images as $image ): ?>
<li>
<?php echo wp_get_attachment_image( $image['ID'], $size ); ?>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php
// check if the repeater field has rows of data
if( have_rows('repeater_field_name') ):
// loop through the rows of data
while ( have_rows('repeater_field_name') ) : the_row();
// display a sub field value
the_sub_field('sub_field_name');
endwhile;
else :
// no rows found
endif;
?>