index.php 467 Bytes
Newer Older
1
2
3
4
5
<?php get_header(); ?>

	<main id="primary" class="site-main">

			<?php
6
			if ( have_posts() ) :
7

Benthe Kuijpers's avatar
Benthe Kuijpers committed
8
9
10
11
12
				if (!is_front_page()) { ?>
					<div class="page-header">
						<h1><?php echo get_the_title(); ?></h1>
					</div>
				<?php }
13
14
15
16
17

				while ( have_posts() ) : the_post();

					the_content();

18
19
					get_template_part('template-parts/page-builder');

20
21
22
23
24
25
26
27
28
29
30
31
32
				endwhile;

				the_posts_navigation();

			else :

			endif;
			?>

	</main><!-- #main -->

<?php
get_footer();