<?php if($this->bloqueFinal['titulo']){ ?>
<section class="contenedor-final">
    <div class="main-container">
        <h1><?php echo $this->bloqueFinal['titulo']; ?></h1>
        <?php if($this->bloqueFinal['boton']['texto']){ ?>
        <a <?php echo ($this->bloqueFinal['boton']['tipo'] == 0)?'data-modalContacto':''; ?> class="btn-main" href="<?php echo ($this->bloqueFinal['boton']['tipo'] == 0)?'#':get_the_permalink($this->bloqueFinal['boton']['link']); ?>">
            <img src="<?php echo theme_url();?>/assets/images/icon-corazon.svg" alt="">
            <span class="text-btn-main"><?php echo $this->bloqueFinal['boton']['texto']; ?></span>
        </a>
        <?php } ?>
    </div>
</section>
<?php } ?>