CoreFiles by mySites.guru
single.php32 lines, 932 bytes, from wordpress-3.2.zip
Raw History Compare with 3.1.4
md5
f7eafe15400320cce1dc3ce431c71dd1
sha1
faab58be39a247585694f2de8d85ee59873ea20e
sha256
94fccccc5d21a033c5bb8c0e8dbf673fcf360f1c5270901267073613cfe9aa6c
<?php
/**
 * The Template for displaying all single posts.
 *
 * @package WordPress
 * @subpackage Twenty_Eleven
 * @since Twenty Eleven 1.0
 */

get_header(); ?>

		<div id="primary">
			<div id="content" role="main">

				<?php while ( have_posts() ) : the_post(); ?>

					<nav id="nav-single">
						<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
						<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'twentyeleven' ) ); ?></span>
						<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></span>
					</nav><!-- #nav-single -->

					<?php get_template_part( 'content', 'single' ); ?>

					<?php comments_template( '', true ); ?>

				<?php endwhile; // end of the loop. ?>

			</div><!-- #content -->
		</div><!-- #primary -->

<?php get_footer(); ?>

The same content is in 26 releases, WordPress 3.2-RC3 to 3.4.2. See them all, or every version of this file.