forked from mor10/simone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-page.php
33 lines (31 loc) · 932 Bytes
/
content-page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* The template used for displaying page content in page.php
*
* @package Simone
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if (has_post_thumbnail()) {
echo '<div class="single-post-thumbnail clear">';
echo '<div class="image-shifter">';
simone_the_responsive_thumbnail( get_the_ID() );
echo '</div>';
echo '</div>';
}
?>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'simone' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php edit_post_link( __( 'Edit', 'simone' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer>' ); ?>
</article><!-- #post-## -->