author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 17:39:30 +0200 | |
changeset 7 | cf61fcea0001 |
parent 0 | d970ebf37754 |
permissions | -rw-r--r-- |
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(); ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
21 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
22 |
wp_link_pages( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
23 |
array( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
24 |
'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
25 |
'after' => '</div>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
26 |
) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
27 |
); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
28 |
?> |
0 | 29 |
</div><!-- .entry-content --> |
30 |
<footer class="entry-meta"> |
|
31 |
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> |
|
32 |
</footer><!-- .entry-meta --> |
|
33 |
</article><!-- #post --> |