The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template used for displaying page content in page.php
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Twelve
|
|
|
|
* @since Twenty Twelve 1.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2012-09-27 11:20:52 -04:00
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
2013-03-01 11:50:34 -05:00
|
|
|
<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
|
2018-08-16 21:51:36 -04:00
|
|
|
<?php the_post_thumbnail(); ?>
|
2013-03-01 11:50:34 -05:00
|
|
|
<?php endif; ?>
|
2012-09-27 11:20:52 -04:00
|
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
|
|
|
</header>
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
|
2012-09-27 11:20:52 -04:00
|
|
|
<div class="entry-content">
|
|
|
|
<?php the_content(); ?>
|
2017-11-30 18:11:00 -05:00
|
|
|
<?php
|
|
|
|
wp_link_pages(
|
|
|
|
array(
|
|
|
|
'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ),
|
|
|
|
'after' => '</div>',
|
|
|
|
)
|
|
|
|
);
|
2018-08-16 21:51:36 -04:00
|
|
|
?>
|
2012-09-27 11:20:52 -04:00
|
|
|
</div><!-- .entry-content -->
|
|
|
|
<footer class="entry-meta">
|
|
|
|
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
|
|
|
</footer><!-- .entry-meta -->
|
|
|
|
</article><!-- #post -->
|