WordPress custom Query for Posts in Category display posts multiple times
Don’t use query_posts() – it breaks things. There’s no need to run a query for each category when you can create a single query to snag posts in any specified category simultaneously. This is both more efficient as well as a means to see you don’t end up with duplicates. Since you were using query_posts() … Read more