I have some widgets that I do NOT want to show on the blog page OR any of the single post pages (only on the pages I am using as part of my website, not as part of my blog). If I use this: !is_single() it works,
If I write: !is_page(‘blog’) that works
But if I write this:
!is_single() || !is_page(‘blog’) nothing works.
In short, it seems I am doing something wrong once I combine the conditions, they only work when there is one of them. Can anyone shed any light please? I’ve spent a couple of hours trying to figure it out already!
Thanks so much!
- The topic ‘Combining conditions’ is closed to new replies.