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 06:20:46 +02: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 17:20:52 +02:00
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
2013-03-01 17:50:34 +01:00
|
|
|
<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
|
2013-02-22 17:07:28 +01:00
|
|
|
<?php the_post_thumbnail(); ?>
|
2013-03-01 17:50:34 +01:00
|
|
|
<?php endif; ?>
|
2012-09-27 17:20:52 +02: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 06:20:46 +02:00
|
|
|
|
2012-09-27 17:20:52 +02:00
|
|
|
<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 -->
|