Sorry I've been away from working on this for a while.
What I need is to be able to show related posts that are related by a specific taxonomy, which I can do now, but then I also need to be able to exclude categories (or include only one category in this case).
Another example besides the "sets" example can be seen on the same page, http://port-sebastian.com/kiersten-and-abbeys-road-trip/. If you go to the tab that says, "Click for more about characters / dolls / sets in this episode" and look at "Characters appearing in this episode", I am wanting this to show only posts that are related by my taxonomy "character_names" AND are in the category of "character-bios". (This is also retuing results from categories "episodes" and "businesses-employers" that use the same character names. The "character-bios" posts are the three showing dolls' faces.)
I see that your shortcode options include exclude_terms
, include_terms
, and exclude_posts
. Is it possible to add something like 'include_categories' and 'exclude_categories'? I think that would solve my problem.
Thanks!
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 273 تاريخ : دوشنبه 18 مرداد 1395 ساعت: 5:18