Posts Tagged "loops"

How to Avoid Duplicate Posts in Multiple Loops.

How to Avoid Duplicate Posts in Multiple Loops.

In the recent days almost every wordpress blog is using ‘Magazine’ type themes. But one problem associated with Magazine themes is that they use more than one loop on their blog home page for a solution to avoiding duplicate posts on the second loop. Well this lttle php hack can solve this problem for you. 1. Let’s start by creating a simple PHP array, and put all post IDs from the...

Read More