-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
55 lines (44 loc) · 1.22 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* The template for displaying pages.
*
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package Forest
*/
get_header(); ?>
<div class="blog-cover-wrap the-hero-<?php the_ID(); ?>">
<div class="the-cover the-cover-<?php the_ID(); ?>"></div>
<div class="inside blog-cover">
<h1 class="page-title"><?php the_title(); ?></h1>
</div>
</div>
<div class="inside content-wrapper">
<div id="primary" class="site-content hfeed">
<?php stag_page_before(); ?>
<?php
while ( have_posts() ) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php stag_page_start(); ?>
<div class="entry-content">
<?php
the_content( __( 'Continue Reading <span class="meta-nav">→</span>', 'forest' ) );
wp_link_pages(
array(
'before' => '<p><strong>' . __( 'Pages:', 'forest' ) . '</strong> ',
'after' => '</p>',
'next_or_number' => 'number',
)
);
?>
</div><!-- .entry-content -->
<?php stag_page_end(); ?>
</article><!-- #post -->
<?php endwhile; ?>
<?php stag_page_after(); ?>
</div><!-- #primary -->
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>