-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpage.php
25 lines (25 loc) · 988 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
<?php get_header(); ?>
<main class="main-content container">
<section class="section-body" itemscope="itemscope" itemtype="http://schema.org/Article">
<?php while (have_posts()) : the_post(); ?>
<header class="section-header u-textAlignCenter">
<h2 class="grap--h2" itemprop="headline"><?php the_title(); ?></h2>
</header>
<div class="grap" itemprop="articleBody">
<?php the_content(); ?>
</div>
<?php wp_link_pages(array(
'before' => '<div class="page-links">',
'after' => '</div>',
'pagelink' => '%',
'separator' => '<span class="screen-reader-text">, </span>',
)); ?>
<?php
if (comments_open() || get_comments_number()) :
comments_template();
endif;
?>
<?php endwhile; ?>
</section>
</main>
<?php get_footer(); ?>