Add post divider in between two posts or more
wordpress snippet
Add this snippet right before the closing of the loop to auto insert a post divider “div” that you can style using the “post-item-divider” class.
snippet : PHPcopy
<?php
if (($wp_query->current_post + 1) < ($wp_query->post_count)) {
echo '<div class="post-item-divider">Post Divider</div>';
}
?>
this months featured snippets
- http://gadgetsnewsline.com/ GadgetsNews
- http://big-face-watches.org/big-face-watches-for-women/ tracy
- http://www.onlinepaydayloans.co.uk/ Payday Loan Company
- http://www.seoservicescanada.ca/ seo
- http://www.seoservicesamerica.com/ rinchan
- http://www.morplan.com/ Morplan
- http://www.fragranceexpert.com/perfume-store.aspx Bargain Perfume
- http://www.creativebeans.co.uk/ wills
- http://www.fragranceexpert.com/mens-fragrances.html Mens Fragrances
- http://wpsnipp.com Kevin Chard











