SHARE
TWEET

loop-page

a guest Sep 13th, 2012 15 Never
  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. ?>
RAW Paste Data
Top