Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

loop-page

By: a guest on Sep 13th, 2012  |  syntax: None  |  size: 0.51 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. ?>