1
2
3
4
5
6
7
<?php
if (($wp_query->current_post + 1) < ($wp_query->post_count)) {
   echo '<div class="post-item-divider">Post Divider</div>';
}
?>

//Found at: http://css-tricks.com/snippets/wordpress/post-divider/