

<div class="slider-active" data-vvveb-disabled-noback="">
    <?php foreach (slider_Items('data', $post['id']) as $slider){ ?>
    <div class="single-slider slider-bg" style="background: url('<?=image($slider['image'])?>');background-repeat: no-repeat;background-size: cover;">
        <div class="container">
            <div class="row">
                <div class="col-lg-6">
                    <div class="slider-content">
                        <span class="sub-title" data-animation="fadeInUp" data-delay=".2s"><?=$slider['subtitle']?></span>
                        <h2 class="title" data-animation="fadeInUp" data-delay=".4s"><?=$slider['title']?></h2>
                        <p data-animation="fadeInUp" data-delay=".6s"><?=$slider['description']?></p>
                        <?php if($slider['button1_label']){ ?>
                            <a href="<?=$slider['button1_link']?>" class="btn" data-animation="fadeInUp"
                               data-delay=".8s"><?=$slider['button1_label']?></a>
                        <?php } ?>
                        <?php if($slider['button2_label']){ ?>
                        <a href="<?=$slider['button2_link']?>" class="btn" data-animation="fadeInUp"
                           data-delay=".8s"><?=$slider['button2_label']?></a>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php } ?>
</div>

