Widget Logic
Category code not working (1 post)

  1. enderpal444
    Posted 5 years ago #

    Ok so Im trying to lock a sub-category widget to a category page and it's posts and I used the code 'is_category || (is_single && in_category(X)' but it still shows up on every page. When I just use is_category() it does the same thing still showing up on home page.

    Now when I use is_single() it finally disappears from home which has me baffled lol. Someone help me =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic