bib_wp/abchospitalitynepal.com/wp-content/themes/abchospitality/bib-parts/slider.php
2024-03-12 19:44:46 +05:45

19 lines
724 B
PHP

<div class="ltn__slider-area ltn__slider-3 section-bg-1">
<div class="ltn__slide-one-active slick-slide-arrow-1 slick-slide-dots-1 arrow-white">
<?php
if( have_rows('slider', 237) ) :
// Loop through the repeater field
while( have_rows('slider', 237) ) : the_row(); ?>
<!-- ltn__slide-item -->
<div class="ltn__slide-item ltn__slide-item-2 ltn__slide-item-3 ltn__slide-item-3-normal text-color-white bg-image"
data-bg="<?php the_sub_field('slide'); ?>">
</div>
<!-- ltn__slide-item -->
<?php
endwhile;
endif;
?>
<!-- -->
</div>
</div>