-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpage.php
More file actions
30 lines (27 loc) · 996 Bytes
/
page.php
File metadata and controls
30 lines (27 loc) · 996 Bytes
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
<!--
page.php will render out any of your pages which gets created in the admin
dashboard that don't use a template, or has a unique file for it.
If this file doesn't exist, it will default to index.php
https://developer.wordpress.org/themes/template-files-section/page-template-files/
-->
<?php get_header(); ?>
<?php if(have_posts()): ?>
<?php while(have_posts()): the_post();?>
<div class="container">
<div class="row">
<div class="col">
<h1><?= the_title(); ?></h1>
<hr>
</div>
</div>
<div class="row">
<div class="col">
<div class="wp_content">
<?php the_content(); ?>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>