Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ?> <section id="container" class="row table-price-items">
- <?php while (have_rows('price_table')) : the_row(); ?>
- <div class="pricing-table">
- <div class="pricing-table-box">
- <div class="header bg-grey aligncenter text-white">
- <div class="title">
- <h3 class="text-white"><?php the_sub_field('tableprice_title'); ?></h3>
- </div>
- <div class="sub-title text-white"><h4><?php the_sub_field( 'tableprice_sous_titre' ); ?></h4></div>
- </div>
- <div class="price">
- <div class="price-value">
- <span class="value"><?php the_sub_field( 'tableprice_tarif' ); ?></span>
- <span class="devise">€</span>
- </div>
- <div class="price-duration">
- <span class="duration-value"><?php the_sub_field( 'tableprice_durée' ); ?></span>
- </div>
- </div>
- <div class="features">
- <ul>
- <?php
- $test = get_sub_field('liste_des_services');
- for($i = 0; $i < count($test); ++$i) { ?>
- <li <?php if($i + 1 < count($test)) {echo 'class="spacer"';} ?> >
- <i class="fa fa-check"></i><span><?= $test[$i]['tableprice_items'] ?></span>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <div class="contact-button">
- <a href="#elementor-action%3Aaction%3Dpopup%3Aopen%20settings%3DeyJpZCI6IjYzMyIsInRvZ2dsZSI6ZmFsc2V9"
- class="button">Contacter</a>
- </div>
- </div>
- <?php endwhile; ?>
- </section>
Advertisement
Add Comment
Please, Sign In to add comment