-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-page.php
More file actions
22 lines (19 loc) · 847 Bytes
/
content-page.php
File metadata and controls
22 lines (19 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
* The template used for displaying page content in page.php
*
* @package SemPress
* @since SemPress 1.0.0
*/
?>
<article <?php sempress_post_id(); ?> <?php post_class(); ?><?php sempress_semantics( 'page' ); ?>>
<header class="entry-header">
<h1 class="entry-title p-name" itemprop="name headline"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<?php sempress_the_post_thumbnail( '<div class="entry-media">', '</div>' ); ?>
<div class="entry-content e-content" itemprop="description text">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'sempress' ), 'after' => '</div>' ) ); ?>
<?php edit_post_link( __( 'Edit', 'sempress' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->