equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * The template for displaying all pages |
|
4 * |
|
5 * This is the template that displays all pages by default. |
|
6 * Please note that this is the WordPress construct of pages |
|
7 * and that other 'pages' on your WordPress site may use a |
|
8 * different template. |
|
9 * |
|
10 * @link https://codex.wordpress.org/Template_Hierarchy |
|
11 * |
|
12 * @package WordPress |
|
13 * @subpackage Twenty_Seventeen |
|
14 * @since 1.0 |
|
15 * @version 1.0 |
|
16 */ |
|
17 |
|
18 get_header(); ?> |
|
19 |
|
20 <div class="wrap"> |
|
21 <div id="primary" class="content-area"> |
|
22 <main id="main" class="site-main" role="main"> |
|
23 |
|
24 <?php |
|
25 while ( have_posts() ) : the_post(); |
|
26 |
|
27 get_template_part( 'template-parts/page/content', 'page' ); |
|
28 |
|
29 // If comments are open or we have at least one comment, load up the comment template. |
|
30 if ( comments_open() || get_comments_number() ) : |
|
31 comments_template(); |
|
32 endif; |
|
33 |
|
34 endwhile; // End of the loop. |
|
35 ?> |
|
36 |
|
37 </main><!-- #main --> |
|
38 </div><!-- #primary --> |
|
39 </div><!-- .wrap --> |
|
40 |
|
41 <?php get_footer(); |