Advertisement
Guest User

loop-page

a guest
Sep 13th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  2.  
  3. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  4.  
  5. <div class="entry-content">
  6. <?php the_content(); ?>
  7. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'care' ), 'after' => '</div>' ) ); ?>
  8. <?php edit_post_link( __( 'Edit', 'care' ), '<span class="edit-link">', '</span>' ); ?>
  9.  
  10. <div class="clear"></div>
  11. </div><!-- .entry-content -->
  12. </div><!-- #post-## -->
  13.  
  14. <?php endwhile; // end of the loop. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement