WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Widget Logic] Making widgets appear only on the category page

[Plugin: Widget Logic] Making widgets appear only on the category page

  • Hi, I need help on this one,

    Currently I use the code: (is_category(Gaming) && in_category(Gaming))

    What I want to achieve is to make the widget only appear on:
    website.com/category/gaming/ and not on the succeeding pages and posts under that category.

    This is so far what I have achieved:

    * The widget only appears on the category “Gaming”, site example here: website.com/category/gaming/
    * The widget does not appear on the single posts under the category: gaming

    My problem is, the widget would also appear on the succeeding pages on that category such as :
    website.com/category/gaming/page/2…
    website.com/category/gaming/page/3 and so on…

    What I want to achieve is to make the widget only appear on:
    website.com/category/gaming/ and no where else.

    Can anyone help me with this?

    Many Thanks,
    Tech

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Widget Logic] Making widgets appear only on the category page’ is closed to new replies.