|
|
@@ -0,0 +1,42 @@
|
|
|
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://developer.wordpress.org/themes/basics/template-hierarchy/
|
|
|
11
|
+ *
|
|
|
12
|
+ * @package whitesports
|
|
|
13
|
+ */
|
|
|
14
|
+
|
|
|
15
|
+get_header();
|
|
|
16
|
+?>
|
|
|
17
|
+
|
|
|
18
|
+ <main id="primary" class="container">
|
|
|
19
|
+<div class='col-md-3'>
|
|
|
20
|
+</div>
|
|
|
21
|
+<div class='col-md-9'>
|
|
|
22
|
+ <?php
|
|
|
23
|
+ while ( have_posts() ) :
|
|
|
24
|
+ the_post();
|
|
|
25
|
+
|
|
|
26
|
+ get_template_part( 'template-parts/content', 'page' );
|
|
|
27
|
+
|
|
|
28
|
+ // If comments are open or we have at least one comment, load up the comment template.
|
|
|
29
|
+ if ( comments_open() || get_comments_number() ) :
|
|
|
30
|
+ comments_template();
|
|
|
31
|
+ endif;
|
|
|
32
|
+
|
|
|
33
|
+ endwhile; // End of the loop.
|
|
|
34
|
+ ?>
|
|
|
35
|
+</div>
|
|
|
36
|
+
|
|
|
37
|
+
|
|
|
38
|
+ </main><!-- #main -->
|
|
|
39
|
+
|
|
|
40
|
+<?php
|
|
|
41
|
+get_sidebar();
|
|
|
42
|
+get_footer();
|