widget logic help
-
I cant get widget logic to work as i want.
i want to view a widget on siderbar if:
1. we view a post in one of the categories 1,2,3
OR
2. we view one of the categories 1,2,3
OR.
3. we view the page 575so i made the following query for widget logic:
((is_single(array(in_category(array(1,2,3))))) || is_category(array(1,2,3)) || is_page(575))
the is single does not work, but the other 2 conditions (is_category,is_page) work perfectly.
what i’m doing wrong with is_single?
thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘widget logic help’ is closed to new replies.