Title: where to enter shortcode for excluding posts
Last modified: April 15, 2020

---

# where to enter shortcode for excluding posts

 *  [serenebabe](https://wordpress.org/support/users/serenebabe/)
 * (@serenebabe)
 * [6 years ago](https://wordpress.org/support/topic/where-to-enter-shortcode-for-excluding-posts/)
 * This help page (linked here) has the answer to my question (how can I exclude
   posts with a certain tag AND include posts with a different tag) but I’m not 
   sure where I’m supposed to put that shortcode to make it work.
 * I’m not a professional, and I’m not very skilled with technology. I just play
   around with things until they work. So, it’s not obvious to me where I’d paste
   that shortcode (after editing it to include the tag I want to exclude).
 * Thanks in advance for any help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwhere-to-enter-shortcode-for-excluding-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [serenebabe](https://wordpress.org/support/users/serenebabe/)
 * (@serenebabe)
 * [6 years ago](https://wordpress.org/support/topic/where-to-enter-shortcode-for-excluding-posts/#post-12678371)
 * Oops. I should’ve posted this in the CVPro forum. Sorry!
 *  Thread Starter [serenebabe](https://wordpress.org/support/users/serenebabe/)
 * (@serenebabe)
 * [6 years ago](https://wordpress.org/support/topic/where-to-enter-shortcode-for-excluding-posts/#post-12678376)
 * Oh, but I can’t post there unless I purchase Pro. But I won’t purchase Pro until
   I’m 100% sure I can include posts with one tag AND exclude posts with another.
   I hope someone here will help with my question!
 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [6 years ago](https://wordpress.org/support/topic/where-to-enter-shortcode-for-excluding-posts/#post-12681368)
 * Hi there,
    Thank you for your question.
 * It is 100% possible to include posts with one tag AND exclude posts with another,
   with [Content Views Pro version](https://www.contentviewspro.com/?utm_source=wordpress&utm_medium=reply&utm_campaign=gopro),
   using this shortcode in above document:
 *     ```
       [pt_view id="VIEW_ID" reuse_tax_query=1 tag="SLUG_OF_TAG_TO_EXCLUDE" operator="NOT IN"]
       ```
   
 * (replace VIEW_ID with the ID of the view which you select the tag to include,
   Operator: IN)
 * Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘where to enter shortcode for excluding posts’ is closed to new replies.

 * ![](https://ps.w.org/content-views-query-and-display-post-page/assets/icon.svg?
   rev=2932226)
 * [Content Views - Post Grid & Filter, Recent Posts, Category Posts ... (Shortcode, Gutenberg Blocks, and Widgets for Elementor)](https://wordpress.org/plugins/content-views-query-and-display-post-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-views-query-and-display-post-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/)
 * [Active Topics](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/reviews/)

## Tags

 * [exclude](https://wordpress.org/support/topic-tag/exclude/)

 * 3 replies
 * 2 participants
 * Last reply from: [Content Views](https://wordpress.org/support/users/pt-guy/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/where-to-enter-shortcode-for-excluding-posts/#post-12681368)
 * Status: not resolved