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