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

47 lines
1.8 KiB
PHP
Raw Normal View History

2024-03-12 05:32:45 +00:00
<!-- TESTIMONIAL AREA START (testimonial-4) -->
<div class="ltn__testimonial-area section-bg-1 pt-90 mb--100">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="section-title-area ltn__section-title-2 section-title-style-3 text-center">
<div class="section-title-in">
<h1 class="section-title" style="color:#017BAA">Client Feedbacks</h1>
</div>
</div>
</div>
</div>
<div class="row ltn__testimonial-slider-3-active slick-arrow-1 slick-arrow-1-inner">
2024-03-12 10:14:02 +00:00
<?php
// Check if the ACF repeater field exists
if( have_rows('client_feedback', 180) ) :
// Loop through the repeater field
while( have_rows('client_feedback', 180) ) : the_row(); ?>
2024-03-12 05:32:45 +00:00
<div class="col-lg-12">
<div class="ltn__testimonial-item ltn__testimonial-item-4">
<div class="ltn__testimoni-img">
2024-03-12 10:14:02 +00:00
<img src="<?php the_sub_field('image'); ?>" alt="#">
2024-03-12 05:32:45 +00:00
</div>
<div class="ltn__testimoni-info">
<p>
2024-03-12 10:14:02 +00:00
<?php the_sub_field('description'); ?>
2024-03-12 05:32:45 +00:00
</p>
2024-03-12 10:14:02 +00:00
<h4><?php the_sub_field('name'); ?></h4>
<h6><?php the_sub_field('job_title'); ?></h6>
2024-03-12 05:32:45 +00:00
</div>
<div class="ltn__testimoni-bg-icon">
<i class="far fa-comments"></i>
</div>
</div>
</div>
2024-03-12 10:14:02 +00:00
<?php endwhile; ?>
<?php endif; ?>
2024-03-12 05:32:45 +00:00
<!-- -->
</div>
</div>
</div>
2024-03-12 10:14:02 +00:00
<!-- TESTIMONIAL AREA END -->