forked from mirror/_s
33 lines
946 B
PHP
33 lines
946 B
PHP
<?php
|
|
/**
|
|
* @package _s
|
|
*/
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<header class="entry-header">
|
|
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
|
|
|
|
<?php if ( 'post' == get_post_type() ) : ?>
|
|
<div class="entry-meta">
|
|
<?php _s_posted_on(); ?>
|
|
</div><!-- .entry-meta -->
|
|
<?php endif; ?>
|
|
</header><!-- .entry-header -->
|
|
|
|
<div class="entry-content">
|
|
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', '_s' ) ); ?>
|
|
<?php
|
|
wp_link_pages( array(
|
|
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
|
|
'after' => '</div>',
|
|
) );
|
|
?>
|
|
</div><!-- .entry-content -->
|
|
|
|
<footer class="entry-footer">
|
|
<?php _s_entry_footer(); ?>
|
|
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</footer><!-- .entry-footer -->
|
|
</article><!-- #post-## -->
|