bib_wp/abchospitalitynepal.com/wp-content/themes/abchospitality/page-our-teams.php

104 lines
3.6 KiB
PHP
Raw Normal View History

2024-03-14 08:08:55 +00:00
<?php
/**
* Template Name: Our Teams
*/
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">
<h1 class="section-title white-color">Our Teams</h1>
</div>
<div class="ltn__breadcrumb-list">
<ul>
<li><a href="index.php">Home</a></li>
<li>Team</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- BREADCRUMB AREA END -->
<!-- TEAM AREA START (Team - 3) -->
<div class="ltn__team-area mt-100 pt-110--- pb-90 mb-90">
<div class="container">
<div class="row justify-content-center">
<?php
// Check if the ACF repeater field exists
if( have_rows('teams', 356) ) :
// Loop through the repeater field
while( have_rows('teams', 356) ) : the_row(); ?>
<div class="col-xl-3 col-lg-4 col-sm-6">
<div class="ltn__team-item">
<div class="team-img">
<img src="<?php the_sub_field('image'); ?>" alt="Image">
</div>
<div class="team-info">
<h6 class="ltn__secondary-color"> <?php the_sub_field('job_title'); ?> </h6>
<h4><?php the_sub_field('name'); ?></h4>
</div>
</div>
</div>
<?php endwhile ;
endif;
?>
<!-- <div class="col-xl-3 col-lg-4 col-sm-6">
<div class="ltn__team-item">
<div class="team-img">
<img src="img/team/teams.png" alt="Image">
</div>
<div class="team-info">
<h6 class="ltn__secondary-color"> CEO </h6>
<h4><a href="team-details.html">Ram Bahadur Karki</a></h4>
</div>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-sm-6">
<div class="ltn__team-item">
<div class="team-img">
<img src="img/team/teams.png" alt="Image">
</div>
<div class="team-info">
<h6 class="ltn__secondary-color">Front Desk Officer</h6>
<h4><a href="team-details.html">Ram Bahadur Karki</a></h4>
</div>
</div>
</div>
<div class="col-xl-3 col-lg-4 col-sm-6">
<div class="ltn__team-item">
<div class="team-img">
<img src="img/team/teams.png" alt="Image">
</div>
<div class="team-info">
<h6 class="ltn__secondary-color">Marketing Officer</h6>
<h4><a href="team-details.html">Ram Bahadur Karki</a></h4>
</div>
</div>
</div> -->
</div>
</div>
</div>
<!-- TEAM AREA END -->
<?php include('footer.php');
endwhile;
?>