Support » Plugin: Scroll Triggered Boxes » box only for certain categories

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Ernst,

    Definitely, although it is a little more advanced. I need to make the Manual conditional tag in the “Show this box” section a bit more clear but you can use the following conditional functions.

    In your case, you can use in_category('category-1', 'other-category') to only show the box when a post is in one of the given category. Between the parentheses goes a comma-separated list of category ID’s or slugs.

    Source: in_category()

    Hope that helps! Say hi to Steven for me. 🙂

    ernstarchitect

    (@ernstarchitect)

    Hi Danny,

    Nice, it worked. Thanks.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Awesome. Would really appreciate it if you could leave a short review on the plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘box only for certain categories’ is closed to new replies.