Hi and thanks in advance for any help.
I am running this basic query in my loop file to output one post from each category and sub-category:
Code in pastebin: http://pastebin.com/srwgpWN6
And so on for about 20 categories.
The issue is the posts are sometimes in multiple categories and this is causing duplicates on the homepage. What can I add to stop this duplication?
- The topic ‘Trying to output one post from each category need to avoid duplicates’ is closed to new replies.