equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * The template for displaying all single posts |
|
4 * |
|
5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post |
|
6 * |
|
7 * @package WordPress |
|
8 * @subpackage Twenty_Nineteen |
|
9 * @since 1.0.0 |
|
10 */ |
|
11 |
|
12 get_header(); |
|
13 ?> |
|
14 |
|
15 <section id="primary" class="content-area"> |
|
16 <main id="main" class="site-main"> |
|
17 |
|
18 <?php |
|
19 |
|
20 /* Start the Loop */ |
|
21 while ( have_posts() ) : |
|
22 the_post(); |
|
23 |
|
24 get_template_part( 'template-parts/content/content', 'home' ); |
|
25 |
|
26 // If comments are open or we have at least one comment, load up the comment template. |
|
27 if ( comments_open() || get_comments_number() ) { |
|
28 comments_template(); |
|
29 } |
|
30 |
|
31 endwhile; // End of the loop. |
|
32 ?> |
|
33 |
|
34 </main><!-- #main --> |
|
35 </section><!-- #primary --> |
|
36 |
|
37 <?php |
|
38 get_footer(); |