first commit
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
<!-- ABOUT US AREA START -->
|
||||
<div class="ltn__about-us-area pt-120 pb-120">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 align-self-center">
|
||||
<div class="about-us-img-wrap about-img-left">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/others/about.png" alt="About Us Image">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 align-self-center">
|
||||
<div class="about-us-info-wrap">
|
||||
<div class="section-title-area ltn__section-title-2">
|
||||
<h6 class="section-subtitle ltn__secondary-color">About Us</h6>
|
||||
<h1 class="section-title">ABC Hospitality</h1>
|
||||
|
||||
</div>
|
||||
<p>Welcome to ABC Hospitality Business, an esteemed player in the field of uniform craftsmanship.
|
||||
Operating under the legal entity ABC Hospitality Business, we take pride in our pivotal role in
|
||||
the supply and trading of meticulously crafted uniforms, reinforcing our commitment to
|
||||
excellence in the dynamic hospitality industry.</p>
|
||||
</div>
|
||||
<a href="about-us.php"> <button class='btn btn-custom-color'>Read More</button></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ABOUT US AREA END -->
|
@ -0,0 +1,107 @@
|
||||
<!-- CATEGORY AREA START -->
|
||||
<div class="ltn__category-area section-bg-1-- bg-overlay-theme-black-5--0 pt-100 pb--150"">
|
||||
<div class=" container">
|
||||
<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">Our Clients</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row ltn__category-slider-active">
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/1.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/2.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/3.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/4.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/5.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/6.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/client7.jpeg" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/8.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="ltn__category-item ltn__category-item-3 text-center">
|
||||
<div class="ltn__category-item-img">
|
||||
<a href="shop.html">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/brand-logo/9.png" alt="Image">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- CATEGORY AREA END -->
|
@ -0,0 +1,41 @@
|
||||
<!-- PRODUCT SLIDER AREA START -->
|
||||
<div class="ltn__product-slider-area ltn__product-gutter pt-90 custom-slider section-bg-1">
|
||||
<div class="container">
|
||||
<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">Our Products</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row ltn__product-slider-item-four-active slick-arrow-1">
|
||||
<!-- ltn__product-item -->
|
||||
<?php
|
||||
// Check if the ACF repeater field exists
|
||||
if( have_rows('featured_products', 110) ) :
|
||||
// Loop through the repeater field
|
||||
while( have_rows('featured_products', 110) ) : the_row(); ?>
|
||||
<div class="col-lg-12" style="background:white; z-index:-1; height: 330px">
|
||||
<div class="ltn__product-item ltn__product-item-3 text-center">
|
||||
<div class="product-img text-center">
|
||||
<img src="<?php the_sub_field('image'); ?>" alt="#">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
|
||||
<h2 class="product-title"><a href = <?php the_sub_field('title');?>></a>
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- PRODUCT SLIDER AREA END -->
|
@ -0,0 +1,10 @@
|
||||
<div class="ltn__brand-logo-area ltn__brand-logo-1 section-bg-6 border-top border-bottom pt-90">
|
||||
<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">Our Location</h1>
|
||||
</div>
|
||||
</div>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/hero-banner.png" alt="Hero Image" class="img-fluid full-width">
|
||||
</div>
|
@ -0,0 +1,5 @@
|
||||
<!-- GOOGLE MAP LOCATIONS AREA START -->
|
||||
<div class="ltn__google-map-locations-area">
|
||||
<div id="gmap"></div>
|
||||
</div>
|
||||
<!-- GOOGLE MAP LOCATIONS AREA END -->
|
@ -0,0 +1,35 @@
|
||||
<!-- FEATURE AREA START ( Feature - 6) -->
|
||||
<div class="ltn__feature-area section-bg-1 pt-115 pb-90">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="section-title-area ltn__section-title-2 text-center">
|
||||
<h1 class="section-title" style="color:#017BAA">Our Approaches<span></span></h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<?php
|
||||
// Check if the ACF repeater field exists
|
||||
if( have_rows('objectives', 102) ) :
|
||||
// Loop through the repeater field
|
||||
while( have_rows('objectives', 102) ) : the_row(); ?>
|
||||
<div class="col-lg-4 col-sm-6 col-12">
|
||||
<div class="ltn__feature-item ltn__feature-item-7">
|
||||
<div class="ltn__feature-icon-title">
|
||||
<div class="ltn__feature-icon">
|
||||
<span><img src="<?php the_sub_field('image'); ?>" alt="#"></span>
|
||||
</div>
|
||||
<h3><a href="service-details.html"><?php the_sub_field('title'); ?></a></h3>
|
||||
</div>
|
||||
<div class="ltn__feature-info">
|
||||
<p><?php the_sub_field('description'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- FEATURE AREA END -->
|
@ -0,0 +1,153 @@
|
||||
<!-- PRODUCT TAB AREA START (product-item-3) -->
|
||||
<div class="ltn__product-tab-area ltn__product-gutter pt-60 pb--90">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<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">Remember Us For</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ltn__tab-menu ltn__tab-menu-2 ltn__tab-menu-top-right-- text-uppercase text-center">
|
||||
<div class="nav">
|
||||
<a class="active show" data-bs-toggle="tab" href="#liton_tab_3_1">Hospitality Kits</a>
|
||||
<a data-bs-toggle="tab" href="#liton_tab_3_2" class="">Amenities</a>
|
||||
<a data-bs-toggle="tab" href="#liton_tab_3_3" class="">Consumables</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade active show" id="liton_tab_3_1">
|
||||
<div class="ltn__product-tab-content-inner">
|
||||
<div class="row ltn__tab-product-slider-one-active slick-arrow-1">
|
||||
<!-- ltn__product-item -->
|
||||
<?php
|
||||
// Reset the counter
|
||||
$counter = 0;
|
||||
// Check if the ACF repeater field exists
|
||||
if (have_rows('remember_us', 175)) :
|
||||
// Loop through the repeater field
|
||||
while (have_rows('remember_us', 175)) : the_row();
|
||||
// Increment the counter
|
||||
$counter++;
|
||||
|
||||
// Display the next three fields on the right side
|
||||
if ($counter >= 1 && $counter <= 4) :
|
||||
?>
|
||||
<div class="col-lg-12">
|
||||
<div class="ltn__product-item ltn__product-item-3 text-center">
|
||||
<div class="product-img">
|
||||
<img src="<?php the_sub_field('image'); ?>" alt="#">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
|
||||
<h2 class="product-title"><?php the_sub_field('title');?>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- ltn__product-item -->
|
||||
|
||||
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="liton_tab_3_2">
|
||||
<div class="ltn__product-tab-content-inner">
|
||||
<div class="row ltn__tab-product-slider-one-active slick-arrow-1">
|
||||
<!-- ltn__product-item -->
|
||||
<?php
|
||||
// Reset the counter
|
||||
$counter = 0;
|
||||
// Check if the ACF repeater field exists
|
||||
if (have_rows('remember_us', 175)) :
|
||||
// Loop through the repeater field
|
||||
while (have_rows('remember_us', 175)) : the_row();
|
||||
// Increment the counter
|
||||
$counter++;
|
||||
|
||||
// Display the 5th to 8th fields
|
||||
if ($counter >= 5 && $counter <= 8) :
|
||||
?>
|
||||
<div class="col-lg-12">
|
||||
<div class="ltn__product-item ltn__product-item-3 text-center">
|
||||
<div class="product-img">
|
||||
<img src="<?php the_sub_field('image'); ?>" alt="#">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<h2 class="product-title"><?php the_sub_field('title');?></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
endwhile;
|
||||
endif;
|
||||
?>
|
||||
<!-- ltn__product-item -->
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tab-pane fade" id="liton_tab_3_3">
|
||||
<div class="ltn__product-tab-content-inner">
|
||||
<div class="row ltn__tab-product-slider-one-active slick-arrow-1">
|
||||
<!-- ltn__product-item -->
|
||||
<?php
|
||||
// Reset the counter
|
||||
$counter = 0;
|
||||
// Check if the ACF repeater field exists
|
||||
if (have_rows('remember_us', 175)) :
|
||||
// Loop through the repeater field
|
||||
while (have_rows('remember_us', 175)) : the_row();
|
||||
// Increment the counter
|
||||
$counter++;
|
||||
|
||||
// Display the 5th to 8th fields
|
||||
if ($counter >= 9 && $counter <= 12) :
|
||||
?>
|
||||
<div class="col-lg-12">
|
||||
<div class="ltn__product-item ltn__product-item-3 text-center">
|
||||
<div class="product-img">
|
||||
<img src="<?php the_sub_field('image'); ?>" alt="#">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<h2 class="product-title"><?php the_sub_field('title');?></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
endwhile;
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- PRODUCT TAB AREA END -->
|
@ -0,0 +1,13 @@
|
||||
<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">
|
||||
<!-- 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 echo get_template_directory_uri(); ?>/img/slider/banner2.jpg">
|
||||
</div>
|
||||
<!-- 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 echo get_template_directory_uri(); ?>/img/slider/banner.jpg">
|
||||
</div>
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,115 @@
|
||||
<!-- 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">
|
||||
<div class="col-lg-12">
|
||||
<div class="ltn__testimonial-item ltn__testimonial-item-4">
|
||||
<div class="ltn__testimoni-img">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/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-12">
|
||||
<div class="ltn__testimonial-item ltn__testimonial-item-4">
|
||||
<div class="ltn__testimoni-img">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/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-12">
|
||||
<div class="ltn__testimonial-item ltn__testimonial-item-4">
|
||||
<div class="ltn__testimoni-img">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/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-12">
|
||||
<div class="ltn__testimonial-item ltn__testimonial-item-4">
|
||||
<div class="ltn__testimoni-img">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/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-12">
|
||||
<div class="ltn__testimonial-item ltn__testimonial-item-4">
|
||||
<div class="ltn__testimoni-img">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/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 -->
|
@ -0,0 +1,84 @@
|
||||
<div class="ltn__feature-area pt-60 pb-60">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="section-title-area ltn__section-title-2 section-title-style-3 text-center mb-20">
|
||||
<div class="section-title-in">
|
||||
<h1 class="section-title" style="color:#017BAA">Why Choose Us</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- Left side fields -->
|
||||
<div class="col-lg-4">
|
||||
<?php
|
||||
// Check if the ACF repeater field exists
|
||||
if (have_rows('whyus', 54)) :
|
||||
// Counter variable to keep track of the number of fields displayed
|
||||
$counter = 0;
|
||||
// Loop through the repeater field
|
||||
while (have_rows('whyus', 54) && $counter <= 2 ) : the_row();
|
||||
// Increment the counter
|
||||
$counter++;
|
||||
|
||||
// Display only the first field on the left side
|
||||
|
||||
?>
|
||||
<div class="ltn__feature-item ltn__feature-item-3 text-right text-end">
|
||||
<div class="ltn__feature-icon">
|
||||
<span><img src="<?php the_sub_field('image'); ?>" alt="#"></span>
|
||||
</div>
|
||||
<div class="ltn__feature-info">
|
||||
<h3><a href="service-details.html"><?php the_sub_field('title'); ?></a></h3>
|
||||
<p><?php the_sub_field('description'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
endwhile;
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
|
||||
<!-- Center image -->
|
||||
<div class="col-lg-4">
|
||||
<div class="feature-banner-img text-center mb-160">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/others/2.png" alt="#">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Right side fields -->
|
||||
<div class="col-lg-4">
|
||||
<?php
|
||||
// Reset the counter
|
||||
$counter = 0;
|
||||
// Check if the ACF repeater field exists
|
||||
if (have_rows('whyus', 54)) :
|
||||
// Loop through the repeater field
|
||||
while (have_rows('whyus', 54)) : the_row();
|
||||
// Increment the counter
|
||||
$counter++;
|
||||
|
||||
// Display the next three fields on the right side
|
||||
if ($counter > 1 && $counter <= 4) :
|
||||
?>
|
||||
<div class="ltn__feature-item ltn__feature-item-3 text-left">
|
||||
<div class="ltn__feature-icon">
|
||||
<span><img src="<?php the_sub_field('image'); ?>" alt="#"></span>
|
||||
</div>
|
||||
<div class="ltn__feature-info">
|
||||
<h3><a href="service-details.html"><?php the_sub_field('title'); ?></a></h3>
|
||||
<p><?php the_sub_field('description'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
endwhile;
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user