I want to get posts that have one (not all) of a particular set of categories that have a specified category.
For example, I want all posts with the categories Apples, Bananas, Oranges that have the category of GreenBeans.
How can I do this in WordPress?
I think you should check out the codex for Wp_query
example here below will return allpost with category name “staff” and “news”:
Check this page for more information:
http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters
I think I figured it out.
Sure you can! That’s the whole point of a CMS like WordPress. Start studying up… here is the documentation on the function get_terms().
And everything else WordPress Documentation.
Good luck.