Здравствуйте.
Задал изображения и текст при помощи ACF-повторителя, пытаюсь вывести,но вместо этого ничего не выводится вообще. Что необходимо изменить?
<div id="swiper-slider_208"
class="swiper-container swiper-slider swiper-slider__ swiper-container-horizontal"
data-min-height="1px" data-autoplay="5000" data-loop="true"
data-slide-effect="slide" spead="">
<div class="swiper-wrapper"
style="transform: translate3d(-10633px, 0px, 0px); transition-duration: 0ms;">
<?php if (have_rows('slider')) : ?>
<?php while (have_rows('slider')) : the_row(); ?>
<?php
$sliderImage = get_sub_field('slider_image');
$sliderHeader = get_sub_field('slider_header');
$sliderDescription = get_sub_field('slider_description');
?>
<div class="swiper-slide swiper-slide-duplicate"
data-slide-bg="<?php echo $sliderImage; ?>"
style="background-image: url(<?php echo $sliderImage; ?>);
background-size: cover; width: 1519px;" data-swiper-slide-index="0">
<div class="swiper-slide-caption not-animated"
data-caption-animate="fadeIn" data-caption-delay="200">
<div class="camera_caption ">
<div class="container">
<div class="row">
<div class="col-sm-6">
<div class="item_content">
<h2 class="slide-title heading-style-2 visible-first"><span class="item_title_part_0 item_title_part_odd item_title_part_first_half item_title_part_first"><?php the_field("slider_header"); ?> </span> </h2>
<?php the_field("slider_description"); ?>
<!-- Read More link -->
<div class="btn-wrapper">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<!--data-height="49.01041666666667%" -->
</div>
<!-- Swiper Navigation -->
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>