Title: All category code
Last modified: September 15, 2020

---

# All category code

 *  [wilcotrainbow](https://wordpress.org/support/users/wilcotrainbow/)
 * (@wilcotrainbow)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/all-category-code/)
 * I would like to add a widget to all my category pages. Is there any code here
   to do this at once, I now use: is_product_category( array( ‘afsluitingen’) ) 
   but from the moment I start adding 5 categories the widget stops showing up
 * MBest regards,
    Wilcot
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fall-category-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘All category code’ 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: [wilcotrainbow](https://wordpress.org/support/users/wilcotrainbow/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/all-category-code/)
 * Status: not resolved