Sha256: e4eecd23606adaa24e32315e419a0d89315dd9c2054835c389f9efeeaca2e1c5

Contents?: true

Size: 734 Bytes

Versions: 1

Compression:

Stored size: 734 Bytes

Contents

<?php
/**
 * The loop that displays posts.
 *
 * The loop displays the posts and the post content.  See
 * http://codex.wordpress.org/The_Loop to understand it and
 * http://codex.wordpress.org/Template_Tags to understand
 * the tags used in it.
 *
 * @category  Theme
 * @package   [bootstrap]
 * @author    [Your Name]
 * @copyright 2012 [Your Name]
 */

/* If there are no posts to display, such as an empty archive page */
if ( have_posts() ):
	while ( have_posts() ):
		the_post();

		get_template_part( 'content', get_post_format() );

		comments_template( '', true );
	endwhile;

	/* Display navigation to next/previous pages when applicable */
	do_action( 'pagination' );
else:
	get_template_part( 'content', 'none' );
endif;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wordpress-starter-0.3 templates/bootstrap/loop.php