<?php
/* Template Name: Newsletter */
get_header();

?>



<!-- MAIN -->
<section id="main" role="main" class="pleinelargeur">
  <div class="wrapper">
    <article>

      <div class="content">
        <?php if (have_posts()) : ?>
          <?php while (have_posts()) : the_post(); ?>

            <?php // the_content();
            ?>

            <div id="block_newsletter">
              <div class="col-left">
                <div class="img"><img <?php acf_responsive_image(get_field('image')['id'], 'large', '600px') ?> alt="" />
                </div>
              </div>
              <div class="col-right">
                <div class="txt">
                  <h4 class="section-title uppercase text-uppercase"><?php echo get_field('titre') ?></h4>
                  <div class="section-subtitle"><?php echo get_field('texte') ?></div>
                </div>
                <?php echo do_shortcode(get_field('shortcode')) ?>
              </div>
            </div>

          <?php endwhile; ?>
        <?php endif;
        wp_reset_query(); ?>


      </div>
    </article>
  </div>
</section>



<?php get_footer(); ?>