Advertisement
Guest User

single.php

a guest
Jun 29th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <?php
  2. /**
  3. * The Template for displaying all single posts.
  4. *
  5. * @since 1.0.0
  6. */
  7. get_header(); ?>
  8.  
  9. <div class="container">
  10. <div class="row">
  11. <div id="primary" <?php bavotasan_primary_attr(); ?>>
  12. <?php while ( have_posts() ) : the_post(); ?>
  13.  
  14. <?php get_template_part( 'content', get_post_format() ); ?>
  15.  
  16. <div id="posts-pagination" class="clearfix">
  17. <h3 class="sr-only"><?php _e( 'Post navigation', 'arcade' ); ?></h3>
  18. <div class="previous pull-left"><?php previous_post_link( '%link', __( '&larr; %title', 'arcade' ) ); ?></div>
  19. <div class="next pull-right"><?php next_post_link( '%link', __( '%title &rarr;', 'arcade' ) ); ?></div>
  20. </div><!-- #posts-pagination -->
  21.  
  22. <?php comments_template( '', true ); ?>
  23.  
  24. <?php endwhile; // end of the loop. ?>
  25. </div>
  26. <?php get_sidebar(); ?>
  27. </div>
  28. </div>
  29.  
  30. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement