Posted By

mb2o on 12/13/10


Tagged

wordpress


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

mb2o
qubestream
chriscanterburymusic


Display Post Divider In Between Posts


 / Published in: PHP
 

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

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

Report this snippet  

You need to login to post a comment.