forked from jeffreyriosjr/jeffrey-alkali-friday
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-dogs.php
43 lines (37 loc) · 918 Bytes
/
page-dogs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* Template Name: Dogs Template
* The template for displaying all our dogs
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site may use a
* different template.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package jeffrey-alkali-friday
*/
get_header();
?>
<div class="container">
<main id="primary" class="site-main">
<h1>The Dogs Page</h1>
<?php
while ( have_posts() ) :
the_post(); ?>
<div class="row">
<div class="col">
<h1 class="text-center">
<?php the_title(); ?>
</h1>
</div>
</div>
<?php
endwhile; // End of the loop.
?>
</main><!-- #main -->
</div>
<?php
get_sidebar();
get_footer();