bib_wp/abchospitalitynepal.com/wp-content/themes/abchospitality/bib-parts/objectives.php
2024-03-12 11:17:45 +05:45

36 lines
1.5 KiB
PHP

<!-- 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 -->