• Resolved IKWeb

    (@ikweb)


    So I have managed to get my logic to display a widget if the slug of a category is specified.

    My only issue is the widget is displayed on the category home page, which displays all the posts, I only want it to display on the posts themselves,

    is this possible?

    • This topic was modified 8 years, 1 month ago by IKWeb.
Viewing 1 replies (of 1 total)
  • Thread Starter IKWeb

    (@ikweb)

    I found the answer. Which I have pasted below should this help someone else

    !is_category( ‘SLUG-NAME’)

Viewing 1 replies (of 1 total)

The topic ‘Display Widget Based on Category Slug’ is closed to new replies.