Posted By

wiryanm on 12/09/11


Tagged

php wordpress divider


Versions (?)

Display Post Divider Between Posts


 / Published in: PHP
 

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

From CSS-Tricks.com

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

Report this snippet  

You need to login to post a comment.