bib_wp/abchospitalitynepal.com/wp-content/themes/abchospitality/page-faq.php
2024-03-14 17:17:04 +05:45

70 lines
2.5 KiB
PHP

<?php
/**
* Template Name: Frequently Asked Questions
*/
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">//FAQs</h6>
<h1 class="section-title white-color">Frequently asked questions</h1>
</div>
<div class="ltn__breadcrumb-list">
<ul>
<li><a href="index.php">Home</a></li>
<li>FAQ</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- BREADCRUMB AREA END -->
<!-- FAQ AREA START (faq-2) (ID > accordion_2) -->
<div class="ltn__faq-area mb-100 pt-80 pb-80">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="ltn__faq-inner ltn__faq-inner-2">
<div id="accordion_2">
<!-- card -->
<?php if (have_rows('faq', 486)):
while(have_rows('faq', 486)): the_row();
?>
<div class="card">
<h6 class="collapsed ltn__card-title" data-bs-toggle="collapse"
data-bs-target="#faq-item" aria-expanded="false">
<?php the_sub_field('question')?>
</h6>
<div id="faq-item" class="collapse" data-parent="#accordion">
<div class="card-body">
<p><?php the_sub_field('answer')?></p>
</div>
</div>
</div>
<?php endwhile;
endif; ?>
<!-- card -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- FAQ AREA START -->
<?php
endwhile;
include('footer.php'); ?>