Title: If Post type is&#8230;
Last modified: August 21, 2016

---

# If Post type is…

 *  Resolved [Satori59](https://wordpress.org/support/users/satori59/)
 * (@satori59)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/if-post-type-is/)
 * Hi, I am trying to display the box only if the category =”xxx”.
    Is this possible?
   If not, where can I find this Post type?? Thanks
 * Satori
 * [https://wordpress.org/plugins/scroll-triggered-boxes/](https://wordpress.org/plugins/scroll-triggered-boxes/)

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

 *  Thread Starter [Satori59](https://wordpress.org/support/users/satori59/)
 * (@satori59)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/if-post-type-is/#post-4942675)
 * Mmmm
 * Manual and
    is_single() && in_category(‘workshop’) works…
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/if-post-type-is/#post-4942822)
 * Hi Satori,
 * Yes, that should do the trick.
 *     ```
       is_single() && in_category( 'workshop' )
       ```
   
 * This will only show the box on posts in the category `workshop`.
 * Hope that helps!

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

The topic ‘If Post type is…’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/scroll-triggered-boxes_a0af9c.svg)
 * [Scroll Triggered Boxes](https://wordpress.org/plugins/scroll-triggered-boxes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/scroll-triggered-boxes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/scroll-triggered-boxes/)
 * [Active Topics](https://wordpress.org/support/plugin/scroll-triggered-boxes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/scroll-triggered-boxes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/scroll-triggered-boxes/reviews/)

## Tags

 * [post-type](https://wordpress.org/support/topic-tag/post-type/)

 * 2 replies
 * 2 participants
 * Last reply from: [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/if-post-type-is/#post-4942822)
 * Status: resolved