first commit
This commit is contained in:
35
wp-content/themes/abchospitality/bib-parts/about-us.php
Normal file
35
wp-content/themes/abchospitality/bib-parts/about-us.php
Normal file
@ -0,0 +1,35 @@
|
||||
<!-- ABOUT US AREA START -->
|
||||
<div class="ltn__about-us-area pt-120 pb-120">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<?php
|
||||
if( have_rows('about', 228) ) :
|
||||
// Loop through the repeater field
|
||||
while( have_rows('about', 228) ) : the_row(); ?>
|
||||
<div class="col-lg-6 align-self-center">
|
||||
|
||||
<div class="about-us-img-wrap about-img-left">
|
||||
<img src="<?php the_sub_field('image'); ?>" 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"><?php the_sub_field('title');?></h1>
|
||||
|
||||
</div>
|
||||
<p><?php the_sub_field('description'); ?></p>
|
||||
</div>
|
||||
<a href="about-us"> <button class='btn btn-custom-color'>Read More</button></a>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
endwhile;
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ABOUT US AREA END -->
|
21
wp-content/themes/abchospitality/bib-parts/breadcrumb.php
Normal file
21
wp-content/themes/abchospitality/bib-parts/breadcrumb.php
Normal file
@ -0,0 +1,21 @@
|
||||
<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">Our Values</h1>
|
||||
</div>
|
||||
<div class="ltn__breadcrumb-list">
|
||||
<ul>
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li>Our Values</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
67
wp-content/themes/abchospitality/bib-parts/clients.php
Normal file
67
wp-content/themes/abchospitality/bib-parts/clients.php
Normal file
@ -0,0 +1,67 @@
|
||||
<!-- 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__testimonial-slider-3-act slick-arrow-1 slick-arrow-1-inner">
|
||||
|
||||
<?php
|
||||
// Check if the ACF repeater field exists
|
||||
if( have_rows('clients', 197) ) :
|
||||
// Loop through the repeater field
|
||||
while( have_rows('clients', 197) ) : the_row(); ?>
|
||||
<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 the_sub_field('logo'); ?>" alt="#">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$('.ltn__testimonial-slider-3-act').slick({
|
||||
slidesToShow: 4, // Change this value to 4
|
||||
slidesToScroll: 1,
|
||||
dots: false,
|
||||
arrows: false,
|
||||
prevArrow: '<button type="button" class="slick-prev"><i class="fas fa-angle-left"></i></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><i class="fas fa-angle-right"></i></button>',
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 1200,
|
||||
settings: {
|
||||
slidesToShow: 3,
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 992,
|
||||
settings: {
|
||||
slidesToShow: 2,
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 768,
|
||||
settings: {
|
||||
slidesToShow: 1,
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
</script>
|
||||
<!-- CATEGORY AREA END -->
|
@ -0,0 +1,46 @@
|
||||
<!-- 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
|
||||
$args = array(
|
||||
'post_type' => 'product', // Replace 'your_custom_post_type' with your custom post type slug
|
||||
'posts_per_page' => -1, // Retrieve all posts
|
||||
);
|
||||
|
||||
$query = new WP_Query($args);
|
||||
|
||||
if ($query->have_posts()) :
|
||||
while ($query->have_posts()) : $query->the_post();
|
||||
?>
|
||||
<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_post_thumbnail_url(); ?>" alt="<?php the_title_attribute(); ?>">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
|
||||
<h4><?php the_title(); ?></h4>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- PRODUCT SLIDER AREA END -->
|
11
wp-content/themes/abchospitality/bib-parts/herosection.php
Normal file
11
wp-content/themes/abchospitality/bib-parts/herosection.php
Normal file
@ -0,0 +1,11 @@
|
||||
<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>
|
5
wp-content/themes/abchospitality/bib-parts/locations.php
Normal file
5
wp-content/themes/abchospitality/bib-parts/locations.php
Normal file
@ -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 -->
|
35
wp-content/themes/abchospitality/bib-parts/objectives.php
Normal file
35
wp-content/themes/abchospitality/bib-parts/objectives.php
Normal file
@ -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"><?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 -->
|
153
wp-content/themes/abchospitality/bib-parts/remember-us.php
Normal file
153
wp-content/themes/abchospitality/bib-parts/remember-us.php
Normal file
@ -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
|
||||
$args = array(
|
||||
'post_type' => 'hospitality', // Replace 'your_custom_post_type' with your custom post type slug
|
||||
'posts_per_page' => -1, // Retrieve all posts
|
||||
);
|
||||
|
||||
$hospitality_query = new WP_Query($args);
|
||||
|
||||
if ($hospitality_query->have_posts()) :
|
||||
while ($hospitality_query->have_posts()) : $hospitality_query->the_post();
|
||||
?>
|
||||
|
||||
<div class="col-lg-12">
|
||||
<div class="ltn__product-item ltn__product-item-3 text-center">
|
||||
<div class="product-img">
|
||||
<img src="<?php the_post_thumbnail_url(); ?>" alt="<?php the_title_attribute(); ?>">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
|
||||
<h2 class="product-title"><?php the_title(); ?>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endwhile;
|
||||
wp_reset_postdata();
|
||||
|
||||
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
|
||||
$args = array(
|
||||
'post_type' => 'Amenitie', // Replace 'your_custom_post_type' with your custom post type slug
|
||||
'posts_per_page' => -1, // Retrieve all posts
|
||||
);
|
||||
|
||||
$amenitie_query = new WP_Query($args);
|
||||
|
||||
if ($amenitie_query->have_posts()) :
|
||||
while ($amenitie_query->have_posts()) : $amenitie_query->the_post();
|
||||
?>
|
||||
<div class="col-lg-12">
|
||||
<div class="ltn__product-item ltn__product-item-3 text-center">
|
||||
<div class="product-img">
|
||||
<img src="<?php the_post_thumbnail_url(); ?>" alt="<?php the_title_attribute(); ?>">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<h2 class="product-title"><?php the_title(); ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endwhile;
|
||||
wp_reset_postdata();
|
||||
|
||||
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 -->
|
38
wp-content/themes/abchospitality/bib-parts/slider.php
Normal file
38
wp-content/themes/abchospitality/bib-parts/slider.php
Normal file
@ -0,0 +1,38 @@
|
||||
<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
|
||||
// Assuming you have a custom post type named 'slider'
|
||||
$args = array(
|
||||
'post_type' => 'slider', // Replace 'slider' with your custom post type slug
|
||||
'posts_per_page' => -1, // Retrieve all posts
|
||||
);
|
||||
|
||||
$slides_query = new WP_Query($args);
|
||||
|
||||
if ($slides_query->have_posts()) :
|
||||
while ($slides_query->have_posts()) : $slides_query->the_post();
|
||||
?>
|
||||
<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 esc_url(get_the_post_thumbnail_url()); ?>">
|
||||
<!-- Additional content for the slide item can be added here -->
|
||||
</div>
|
||||
<?php
|
||||
endwhile;
|
||||
wp_reset_postdata();
|
||||
else :
|
||||
// If no slides found
|
||||
echo 'No slides found';
|
||||
endif;
|
||||
?>
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
74
wp-content/themes/abchospitality/bib-parts/testimonials.php
Normal file
74
wp-content/themes/abchospitality/bib-parts/testimonials.php
Normal file
@ -0,0 +1,74 @@
|
||||
<!-- 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">
|
||||
<?php
|
||||
$args = array(
|
||||
'post_type' => 'Testimonial', // Replace 'your_custom_post_type' with your custom post type slug
|
||||
'posts_per_page' => -1, // Retrieve all posts
|
||||
);
|
||||
|
||||
$Testimonial_query = new WP_Query($args);
|
||||
|
||||
if ($Testimonial_query->have_posts()) :
|
||||
while ($Testimonial_query->have_posts()) : $Testimonial_query->the_post();
|
||||
?>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="ltn__testimonial-item ltn__testimonial-item-4">
|
||||
<div class="ltn__testimoni-img">
|
||||
<img src="<?php the_post_thumbnail_url(); ?>" alt="<?php the_title_attribute(); ?>">
|
||||
</div>
|
||||
<div class="ltn__testimoni-info">
|
||||
<p>
|
||||
<p><?php $content = apply_filters('the_content', $post->post_content); ?></p>
|
||||
<?php echo $content; ?> </p>
|
||||
<h4><?php the_sub_field('name'); ?></h4>
|
||||
<h6><?php the_title(); ?></h6>
|
||||
|
||||
</div>
|
||||
<div class="ltn__testimoni-bg-icon">
|
||||
<i class="far fa-comments"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TESTIMONIAL AREA END -->
|
||||
|
||||
<!-- Add jQuery and Slick Slider JS -->
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
|
||||
|
||||
<!-- Initialize Slick Slider -->
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.ltn__testimonial-slider-3-active').slick({
|
||||
slidesToShow: 2, // Display 2 slides at a time
|
||||
slidesToScroll: 1,
|
||||
autoplay: true,
|
||||
autoplaySpeed: 2000,
|
||||
dots: false,
|
||||
arrows: false,
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 992,
|
||||
settings: {
|
||||
slidesToShow: 2 // Adjust to display 2 slides at a time on larger screens
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
});
|
||||
</script>
|
84
wp-content/themes/abchospitality/bib-parts/why-us.php
Normal file
84
wp-content/themes/abchospitality/bib-parts/why-us.php
Normal file
@ -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 = 1;
|
||||
// Loop through the repeater field
|
||||
while (have_rows('whyus', 54) && $counter <= 3 ) : 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><?php the_sub_field('title'); ?></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 > 0 && $counter <= 5) :
|
||||
?>
|
||||
<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