Advertisement
carloslitho

Untitled

May 13th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <?php
  2. // Start the Loop.
  3. while ( have_posts() ) : the_post(); ?>
  4.  
  5. <?php
  6. get_template_part( 'content', get_post_format() );
  7.  
  8. // Previous/next post navigation.
  9. previous_post_link( '%link', 'Prev post in category', true );
  10. next_post_link( '%link', 'Next post in category', true );
  11.  
  12. // If comments are open or we have at least one comment, load up the comment template.
  13. if ( comments_open() || get_comments_number() ) {
  14. comments_template();
  15. }
  16. endwhile;
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement