single.php 473 Bytes
Newer Older
1
2
3
4
<?php get_header(); ?>

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

5
6
7
8
9
		<div class="container container--small">
			<div class="single__content">
				<?php
				while ( have_posts() ) :
					the_post();
10

11
12
13
					if (has_post_thumbnail()) {
						echo '<div class="single__image">' . get_the_post_thumbnail($post, 'large') . '</div>';
					}
14

15
16
17
18
19
20
21
					echo '<h1>' . get_the_title() . '</h1>';
					the_content();

				endwhile;
				?>
			</div>
		</div>
22
23
24
25

	</main>

<?php get_footer(); ?>