Hi there,
check the terms you want to exclude from your tags/cateories.
Then go to the More Settings tab and set the Tax Operator to NOT IN.
So if i want to limit to a category but exclude a tag, i could use the category in the shortcode but set a not in for tags?
or would it be quicker to have a category and a tag? such as featured so that only featured posts show up on homepage?
The simplest option would be to use a unique tag such as Featured on your post list. The nice part of that is you only have one taxonomy term to manage, and its a lot easier to add/remove posts from that term – then it would be to update lists and shortcodes to exclude stuff.
I can’t seem to figure out how to get this to work. I am trying to implement a category and i only want items tagged as featured to be in that category. (easier to filter like you said)
For example, if i have the category set and post type to post in wp show posts, how do i add a filter of “AND” for the tag featured?
I even tried creating a featured category and doing “travel” and “featured” by having both checked in category and the AND set but it says nothing found.
is there a way to do the and/filter/category and tag through the shortcode?
That looks exactly like what i’m trying to do – have a category and only show items with a tag as featured in that category.
However, I can’t figure out why its not working
I have
settings=”category_and=yourcategoryname&tag__in=yourtagname” and i’ve tried removing the filters and setting them to in, and in the meta area but it still shows everything in the category… in fact, it showed featured items not in the category so i’m trying to figure this out…
thanks for thelp
Make sure your list doesn’t have any taxonomies set or any other modifications in the more settings – so the standard shortcode just outputs the latest posts.
Then in the shortcode Tom provide make sure that:
yourcategoryname and yourtagname are both updated and match your terms.