bib_wp/abchospitalitynepal.com/wp-content/themes/abchospitality/page-testimonials.php
2024-03-14 13:53:55 +05:45

170 lines
7.1 KiB
PHP

<?php
/**
* Template Name: Testimonials
*/
get_header(); ?>
<?php
while ( have_posts() ) :
the_post();?>
<!-- BREADCRUMB AREA START -->
<div class="ltn__breadcrumb-area ltn__breadcrumb-area-2 ltn__breadcrumb-color-white bg-overlay-theme-black-90 bg-image"
data-bg="img/bg/breadcrumb.png">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="ltn__breadcrumb-inner ltn__breadcrumb-inner-2 justify-content-between">
<div class="section-title-area ltn__section-title-2">
<!-- <h6 class="section-subtitle ltn__secondary-color">// Welcome to our company</h6> -->
<h1 class="section-title white-color">Client Feedbacks</h1>
</div>
<div class="ltn__breadcrumb-list">
<ul>
<li><a href="index.php">Home</a></li>
<li>Testimonials</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- BREADCRUMB AREA END -->
<!-- TESTIMONIAL AREA START (testimonial-4) -->
<div class="ltn__testimonial-area section-bg-1 pt-90 pb-70 mb-80">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="section-title-area ltn__section-title-2 text-center">
<h1 class="section-title">Clients Feedbacks</h1>
</div>
</div>
</div>
<div class="row">
<?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(); ?>
<div class="col-lg-6">
<div class="ltn__testimonial-item ltn__testimonial-item-4">
<div class="ltn__testimoni-img">
<img src="<?php the_sub_field('image'); ?>" alt="#">
</div>
<div class="ltn__testimoni-info">
<p>
<?php the_sub_field('description'); ?>
</p>
<h4><?php the_sub_field('name'); ?></h4>
<h6><?php the_sub_field('job_title'); ?></h6>
</div>
<div class="ltn__testimoni-bg-icon">
<i class="far fa-comments"></i>
</div>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<!-- <div class="col-lg-6">
<div class="ltn__testimonial-item ltn__testimonial-item-4">
<div class="ltn__testimoni-img">
<img src="img/testimonial/6.jpg" alt="#" />
</div>
<div class="ltn__testimoni-info">
<p>
Lorem ipsum dolor sit amet, consectetur adipi sicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<h4>Rosalina D. William</h4>
<h6>Founder</h6>
</div>
<div class="ltn__testimoni-bg-icon">
<i class="far fa-comments"></i>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="ltn__testimonial-item ltn__testimonial-item-4">
<div class="ltn__testimoni-img">
<img src="img/testimonial/7.jpg" alt="#" />
</div>
<div class="ltn__testimoni-info">
<p>
Lorem ipsum dolor sit amet, consectetur adipi sicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<h4>Rosalina D. William</h4>
<h6>Founder</h6>
</div>
<div class="ltn__testimoni-bg-icon">
<i class="far fa-comments"></i>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="ltn__testimonial-item ltn__testimonial-item-4">
<div class="ltn__testimoni-img">
<img src="img/testimonial/1.jpg" alt="#" />
</div>
<div class="ltn__testimoni-info">
<p>
Lorem ipsum dolor sit amet, consectetur adipi sicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<h4>Rosalina D. William</h4>
<h6>Founder</h6>
</div>
<div class="ltn__testimoni-bg-icon">
<i class="far fa-comments"></i>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="ltn__testimonial-item ltn__testimonial-item-4">
<div class="ltn__testimoni-img">
<img src="img/testimonial/2.jpg" alt="#" />
</div>
<div class="ltn__testimoni-info">
<p>
Lorem ipsum dolor sit amet, consectetur adipi sicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<h4>Rosalina D. William</h4>
<h6>Founder</h6>
</div>
<div class="ltn__testimoni-bg-icon">
<i class="far fa-comments"></i>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="ltn__testimonial-item ltn__testimonial-item-4">
<div class="ltn__testimoni-img">
<img src="img/testimonial/5.jpg" alt="#" />
</div>
<div class="ltn__testimoni-info">
<p>
Lorem ipsum dolor sit amet, consectetur adipi sicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.
</p>
<h4>Rosalina D. William</h4>
<h6>Founder</h6>
</div>
<div class="ltn__testimoni-bg-icon">
<i class="far fa-comments"></i>
</div>
</div>
</div> -->
<!-- -->
</div>
</div>
</div>
<!-- TESTIMONIAL AREA END -->
<?php
endwhile;
include('footer.php'); ?>