bib_wp/abchospitalitynepal.com/wp-content/themes/abchospitality/bib-parts/slider.php

19 lines
724 B
PHP
Raw Normal View History

2024-03-12 05:32:45 +00:00
<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">
2024-03-12 13:59:46 +00:00
<?php
if( have_rows('slider', 237) ) :
// Loop through the repeater field
while( have_rows('slider', 237) ) : the_row(); ?>
2024-03-12 05:32:45 +00:00
<!-- 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"
2024-03-12 13:59:46 +00:00
data-bg="<?php the_sub_field('slide'); ?>">
2024-03-12 05:32:45 +00:00
</div>
<!-- ltn__slide-item -->
2024-03-12 13:59:46 +00:00
<?php
endwhile;
endif;
?>
2024-03-12 05:32:45 +00:00
<!-- -->
</div>
</div>