[Plugin: Widget Logic] Help with widget statement
-
I am trying to figure out how to limit a widget to 2 parts of my site:
1 – a ‘fashion’ page, which I can do
but this one, isn’t working, I need help with it.
2- a single post that’s category is fashion
here is the statement I am using. The is_page() works, but the in_category does not.
is_page(‘fashion’) || (is_single() && in_category(‘fashion’))
I am trying to do a !in_category(‘fashion’) for those widgets that are only suppose to show when its not a fashion page and in_category(‘fashion’) when it is a fashion page.
Please help, I have no idea what Im doing wrong
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Widget Logic] Help with widget statement’ is closed to new replies.