This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
_s/content-page.php

21 lines
663 B
PHP
Raw Normal View History

2012-01-07 03:25:13 +00:00
<?php
/**
* The template used for displaying page content in page.php
*
* @package _s
* @since _s 1.0
*/
?>
<section id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="page-header">
<h1 class="page-title"><?php the_title(); ?></h1>
</header><!-- .page-header -->
2012-01-07 03:25:13 +00:00
<div class="page-content">
2012-01-07 03:25:13 +00:00
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'after' => '</div>' ) ); ?>
</div><!-- .page-content -->
<?php edit_post_link( __( 'Edit', '_s' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
</section><!-- #post-<?php the_ID(); ?> -->