Return to Snippet

Revision: 37584
at December 13, 2010 06:37 by mb2o


Initial Code
<?php
   if (($wp_query->current_post + 1) < ($wp_query->post_count)) {   
      echo '<div class="post-item-divider">Post Divider</div>';
   }
?>

Initial URL
http://css-tricks.com/snippets/wordpress/post-divider/

Initial Description

                                

Initial Title
Display Post Divider In Between Posts

Initial Tags
wordpress

Initial Language
PHP