Title: Help making some custom string
Last modified: September 30, 2019

---

# Help making some custom string

 *  [ezzmay007](https://wordpress.org/support/users/ezzmay007/)
 * (@ezzmay007)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/help-making-some-custom-string/)
 * Okay so ill explain this as best i can, i want a string that allows the widget
   to show if its
    1. the category page of post category “dogs” 2. a child category
   of post category “dogs” (ie category “poodles”, “pugs”, “staffy” which has parent
   category “dogs” 3. a single post within either of the above categories (ie in“
   dogs”, or in a child category of “poodles”, “pugs”, “staffy”)
 * Ive played around and i just cant seem to figure it out, im sure it would be 
   breeze for you smart people.
 * Thanks

The topic ‘Help making some custom string’ 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: [ezzmay007](https://wordpress.org/support/users/ezzmay007/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/help-making-some-custom-string/)
 * Status: not resolved