<?php

$general = get_field('general', 'options');

?>


<!-- <section class="contenedor-instagram-plugin">
    <div class="main-container">
       
    </div>
</section> -->

<section class="contenedor-instagram" data-instagramId="<?php echo $this->igArray['instagramId']; ?>" data-instagramToken="<?php echo $this->igArray['instagramToken']; ?>">
    <div class="main-container">
        <?php if($this->bloqueInstagram['titulo']){ ?>
        <div class="contenedor-head">
            <h2><?php echo $this->bloqueInstagram['titulo']; ?></h2>
            <div class="center">
                <span id="nameInstagram" class="text-instagram-name">
                    <?php echo $general['redes_sociales']['instagram_usuario']; ?>
                </span>
            </div>
            <div class="right">
                <a id="linkInstagram" target="_blank" class="btn-main" href="<?php echo $general['redes_sociales']['instagram']; ?>">
                    <img src="<?php echo theme_url();?>/assets/images/icon-corazon.svg" alt="">
                    <span class="text-btn-main"><?php echo $this->bloqueInstagram['boton']['texto']; ?></span>
                </a>
            </div>
        </div>
        <?php } ?>
        <div class="contenedor-body">
            <?php echo do_shortcode('[feed_them_social cpt_id=388]'); ?>
        </div>
    </div>
</section>