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

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

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

8
9
10
				if (!is_front_page()) {
					echo '<h1>' . get_the_title() . '</h1>';
				}
11
12
13
14
15

				while ( have_posts() ) : the_post();

					the_content();

16
17
					get_template_part('template-parts/page-builder');

18
19
20
21
22
23
24
25
26
27
28
29
30
				endwhile;

				the_posts_navigation();

			else :

			endif;
			?>

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

<?php
get_footer();