Sha256: a938e9f81fa14d85d6da4a570030e30e7a8c41e304a0968351fb00acff36ee4c
Contents?: true
Size: 735 Bytes
Versions: 2
Compression:
Stored size: 735 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 [foundation] * @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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wordpress-starter-0.3 | templates/foundation/loop.php |
wordpress-starter-0.2 | templates/foundation/loop.php |