-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
40 lines (23 loc) · 872 Bytes
/
page.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
<?php
get_header();
?>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post() ?>
<div class="container mx-auto py-16">
<div class="px-4 lg:px-0 lg:w-2/3 mx-auto">
<div class="page-header">
<h1 class="mb-8 uppercase text-3xl font-medium text-dark-blue header-highlight tracking-wide"><?php the_title() ?></h1>
</div>
<div class="text-gray-600 leading-normal text-xl wysiwyg-content">
<?php the_content() ?>
</div>
<?php wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']) ?>
</div>
</div>
<?php
endwhile;
endif;
?>
</div>
<?php get_footer(); ?>