mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
4c0967bdf7
git-svn-id: http://core.svn.wordpress.org/trunk@23561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
27 lines
859 B
PHP
27 lines
859 B
PHP
<?php
|
|
/**
|
|
* The template used for displaying page content in page.php
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twelve
|
|
* @since Twenty Twelve 1.0
|
|
*/
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<header class="entry-header">
|
|
<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
|
|
<?php the_post_thumbnail(); ?>
|
|
<?php endif; ?>
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
<?php the_content(); ?>
|
|
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
|
|
</div><!-- .entry-content -->
|
|
<footer class="entry-meta">
|
|
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</footer><!-- .entry-meta -->
|
|
</article><!-- #post -->
|