CoreFiles by mySites.guru
single.php38 lines, 1,137 bytes, from wordpress-4.1-beta1.zip
Raw History Compare with 4.0-beta4
md5
a3b8ec689cb0cb1e861d3929ed6185a3
sha1
8bc1b87c5b582f1a7a031eb6c7c10e0883c38f1b
sha256
b0e2f37fbc127f5d159025e418b022a1dcb9b5765417fb72f009ffb302021be3
<?php
/**
 * The template for displaying all single posts and attachments.
 *
 * @package WordPress
 * @subpackage Twenty_Fifteen
 * @since Twenty Fifteen 1.0
 */

get_header(); ?>

	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">

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

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

			<?php
				// If comments are open or we have at least one comment, load up the comment template
				if ( comments_open() || get_comments_number() ) :
					comments_template();
				endif;
			?>

			<?php
				the_post_navigation( array(
					'next_text' => _x( '<span class="meta-nav">Next <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Next post link', 'twentyfifteen' ),
					'prev_text' => _x( '<span class="meta-nav">Previous <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Previous post link', 'twentyfifteen' )
				) );
			?>

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

		</main><!-- .site-main -->
	</div><!-- .content-area -->

<?php get_footer(); ?>

No other release has this exact content. See every version of this file.