Title: is_product_category() not working
Last modified: March 12, 2020

---

# is_product_category() not working

 *  [Drmak](https://wordpress.org/support/users/drmak/)
 * (@drmak)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/is_product_category-not-working/)
 * Hello!
    I want to add a custom sidebar to my product categories pages. I followed
   your guide ([https://atlantisthemes.com/woocommerce-different-widgets-per-product-categories/](https://atlantisthemes.com/woocommerce-different-widgets-per-product-categories/)).
   I filled field ‘Widget Logic’ with is_product_category( ‘category’ ) just like
   you say, but it looks like it doesn’t work. Can you help me?

The topic ‘is_product_category() not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-logic_c8dde5.svg)
 * [Widget Logic](https://wordpress.org/plugins/widget-logic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-logic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-logic/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Drmak](https://wordpress.org/support/users/drmak/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/is_product_category-not-working/)
 * Status: not resolved