Title: Removing certain categories from code
Last modified: November 10, 2023

---

# Removing certain categories from code

 *  Resolved [sshahid12](https://wordpress.org/support/users/sshahid12/)
 * (@sshahid12)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/removing-certain-categories-from-code/)
 * Hello,
 * I put this [woof] as the code and we are only showing categories on our pages.
 * On certain pages i don’t want certain categories to show. I dont want to exclude
   them but just doesn’t want them to appear. What might the code be?
 * I was using [woof _**tax\_exclude**=’pa\_bookstore’]_ for the category “bookstore”
   to not show up in the list but it was still showing.
 * Also do i need to add a css code to make one colour appear for [woof] categories
   with text as white? Can you provide the code?
 * Kindly advise forboth
    -  This topic was modified 2 years, 5 months ago by [sshahid12](https://wordpress.org/support/users/sshahid12/).

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

 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/removing-certain-categories-from-code/#post-17196960)
 * Hello
 * Unfortunately, the plugin does not have such a feature: exclude categories using
   a shortcode. In this case, you need code customization
 * _ Can you provide the code?_ – please drop me exact link to the issue
 *  Thread Starter [sshahid12](https://wordpress.org/support/users/sshahid12/)
 * (@sshahid12)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/removing-certain-categories-from-code/#post-17198421)
 * Its on our staging site hence i cannot attach the link its not live.
 * The code that I am using is [woof]
 * it shows all the categories on the side of our page. This code is across all 
   pages but some pages dont qualify for certain categories to be shows so how can
   I remove via code on some pages.
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/removing-certain-categories-from-code/#post-17203568)
 * Hello
 * Please read this – [https://products-filter.com/shortcode/woof](https://products-filter.com/shortcode/woof)–
   here are all the functions of this shortcode described
 * You can try this plugin – [https://wordpress.org/plugins/woof-by-category/](https://wordpress.org/plugins/woof-by-category/)

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

The topic ‘Removing certain categories from code’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-products-filter/assets/icon-256x256.png?rev=
   2844301)
 * [HUSKY - Products Filter Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-products-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-products-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-products-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-products-filter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/removing-certain-categories-from-code/#post-17203568)
 * Status: resolved