29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
PHP
<div class="adding-service container holiday-block">
|
|
<h2><?php the_field('step-head-3', 24)?></h2>
|
|
<p><?php the_field('step-descr-3', 24)?></p>
|
|
<div class="extras row justify-content-between align-items-start">
|
|
|
|
<?php
|
|
for ($x=0; $x < 8; $x++) {
|
|
$item = 'adding_' . ($x + 1);
|
|
if( have_rows($item, 24) ):
|
|
while( have_rows($item, 24) ): the_row();
|
|
// Get sub field values.
|
|
$image = get_sub_field('adding_img_' . ($x + 1));
|
|
$text = get_sub_field('adding_text_' . ($x + 1));
|
|
|
|
?>
|
|
<div class="col-6 col-sm-3">
|
|
<div class="wrapper">
|
|
<div class="adding-service__image"><img src="<?php echo esc_url($image)?>" alt="extra"></div>
|
|
<span><?php echo $text?></span>
|
|
</div>
|
|
</div>
|
|
<?php endwhile; ?>
|
|
<?php endif;
|
|
}
|
|
?>
|
|
|
|
</div>
|
|
<!-- <a href="#" download id=""><button class="btn btn-danger btn-round">Каталог Дополнительных услуг</button></a> -->
|
|
</div>
|