
<?php if(have_posts()) : while(have_posts()) : the_post() ;?>

	<section class="archive_section" <?php if(get_field('page_background')) : ?> style="background-image:url(<?php echo get_field('page_background') ?>)" <?php endif; ?>>	

	<div class="container">

		<h1 class="main-heading"><?php the_title(); ?></h1>
 
			<?php the_content();  ?>	

	</div>

</section>

<?php endwhile; endif; ?> 