1. Go to Appearance > Widgets
2. Check Control This Widget
Examples
- Add if Posts AND Remove if Pages
- Remove if Has Category Cat A AND Add if Post (Show on all posts except post that has a category of CAT A)
- Add if Has Category Cat A AND Remove if Post (Show only on posts that has a category of CAT A)
- Remove on all Posts