<?php /** * Template Name: Stories * */ get_header(); ?> <div class="container clearfix" data-page = "stories"> <div class="container-bg abs-full" style="background-image: url('<?php echo nap_attachment_image(154);?>')"></div> <?php get_sidebar(); ?> <div class="full-slides right-container right"> <div id="fullpage"> <span class = "moveDown chevron bottom hidden-elem"></span> <?php if (get_field('stories', 154)): while (has_sub_field('stories', 154)) : ?> <div class="section " style = "background-image:url('<?php the_sub_field('st_image'); ?>')"> <div class="bloc"> <div class="header-bloc"> <span>01</span> <h2><?php the_sub_field('st_titre'); ?></h2> </div> <div class="desc-content"> <h3><?php the_sub_field('st_citation'); ?></h3> <?php htmlspecialchars(the_sub_field('st_texte')); ?> </div> </div> </div> <?php endwhile; endif; ?> </div> </div> </div> <?php get_footer();