get_posts – multiple categories & excluding categories
I’m trying to get this on the front page:
a. 1 post from category x
b. 3 posts from all categories expect x and y
c. 3 posts from category y
get_posts can do a. and c. but I can’t work out if it can currently exclude categories. Is there a plugin that could do this – maybe something called Enhanced Get Posts 🙂
How would I go about taking the current get_posts function and turning it into a plugin that can do a bit more? Thanks for your help!
- The topic ‘get_posts – multiple categories & excluding categories’ is closed to new replies.