Sha256: d986286e1673e872d699086835e8fe73462c07fca6d86040bba8fcb5a63a240c

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 Bytes

Contents

<?php
/**
 * The single template file.
 *
 * @category  Theme
 * @package   [foundation]
 * @author    [Your Name]
 * @copyright 2012 [Your Name]
 */

get_header( get_post_format() );

if ( have_posts() ):
	while ( have_posts() ):
		the_post();

		/* If you want to overload this in a child theme then include a file
		 * called content-single.php and that will be used instead.
		 */
		 get_template_part( 'content', 'single' );

		 /* Display navigation to next/previous pages when applicable */
		 do_action( 'pagination' );

		 comments_template( '', true );
	 endwhile;
else:
	 get_template_part( 'content', 'none' );
endif;

get_footer( get_post_format() );

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wordpress-starter-0.3 templates/foundation/single.php
wordpress-starter-0.2 templates/foundation/single.php