Sha256: 6f56bd6e3ff0ef94d070439b54cc06c7c98dd1cdb5f6168dcad6bf8a9e715f5f

Contents?: true

Size: 808 Bytes

Versions: 2

Compression:

Stored size: 808 Bytes

Contents

<?php
/**
 * The Template for displaying all single posts.
 *
 * @package starter
 * @since starter 1.0
 */

get_header(); ?>

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

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

				<?php starter_content_nav( 'nav-above' ); ?>

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

				<?php starter_content_nav( 'nav-below' ); ?>

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

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

			</div><!-- #content .site-content -->
		</div><!-- #primary .content-area -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

Version data entries

2 entries across 2 versions & 1 rubygems

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