is_category() appears only to apply to category view,
-
I just downloaded and installed Widget Logic, and it seems to work alright, but I need learn to master the conditional tags. I tried to change the sidebar widget depending on a particular category of posts, but for any singular post withing that category. The category was “Writing” so I put as my option in the widget,
is_category('Writing')
I expected all individual posts within that category to have that specific widget. But that only worked in category view.I was thinking I could do something like:
is_singular(array(is_category('Writing')))
but I really have no idea what I’m talking about.Any ideas? Many thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘is_category() appears only to apply to category view,’ is closed to new replies.