0
|
1 |
<?php |
|
2 |
/** |
|
3 |
* The template used for displaying page content in page.php |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Twenty_Twelve |
|
7 |
* @since Twenty Twelve 1.0 |
|
8 |
*/ |
|
9 |
?> |
|
10 |
|
|
11 |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
|
12 |
<header class="entry-header"> |
|
13 |
<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?> |
|
14 |
<?php the_post_thumbnail(); ?> |
|
15 |
<?php endif; ?> |
|
16 |
<h1 class="entry-title"><?php the_title(); ?></h1> |
|
17 |
</header> |
|
18 |
|
|
19 |
<div class="entry-content"> |
|
20 |
<?php the_content(); ?> |
|
21 |
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?> |
|
22 |
</div><!-- .entry-content --> |
|
23 |
<footer class="entry-meta"> |
|
24 |
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> |
|
25 |
</footer><!-- .entry-meta --> |
|
26 |
</article><!-- #post --> |