Title: [Plugin: Contextual Related Posts] Exclude by Category?
Last modified: August 20, 2016

---

# [Plugin: Contextual Related Posts] Exclude by Category?

 *  [deez](https://wordpress.org/support/users/devonscalisi/)
 * (@devonscalisi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-contextual-related-posts-exclude-by-category/)
 * Hi Ajay,
 * Does the exclude by category functionality of the plugin work? If so, what should
   I be inputting into the exclude by category field?
 * Thanks!
 * [http://wordpress.org/extend/plugins/contextual-related-posts/](http://wordpress.org/extend/plugins/contextual-related-posts/)

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

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-contextual-related-posts-exclude-by-category/#post-2797235)
 * Yes it does. You need to enter the category slugs. Start typing and it should
   pop-up a list based on what you type.
 * Posts in these categories are excluded from the lists.
 *  Thread Starter [deez](https://wordpress.org/support/users/devonscalisi/)
 * (@devonscalisi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-contextual-related-posts-exclude-by-category/#post-2797332)
 * I’m sorry. My prior statement was completely off.
 * What I meant to ask, is if there is a way to physically exclude the plugin from
   the bottom of particular posts? I don’t want the plugin to be shown on specific
   posts (‘portfolio’ category slug). Not just exclude specific content–but to exclude
   the plugin entirely?
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-contextual-related-posts-exclude-by-category/#post-2797343)
 * You’ll need to do a manual install. You need to deselect the “Add to posts” option.
   
   Edit your theme files and use the code.
 * In the single.php within The Loop, add a conditional code. Check: [http://codex.wordpress.org/Function_Reference/in_category](http://codex.wordpress.org/Function_Reference/in_category)

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

The topic ‘[Plugin: Contextual Related Posts] Exclude by Category?’ is closed to
new replies.

 * ![](https://ps.w.org/contextual-related-posts/assets/icon-256x256.png?rev=2985705)
 * [Contextual Related Posts](https://wordpress.org/plugins/contextual-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contextual-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contextual-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/contextual-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contextual-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contextual-related-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-contextual-related-posts-exclude-by-category/#post-2797343)
 * Status: not resolved