I don’t use bbPress, but I see it has its own conditional tags
http://codex.bbpress.org/legacy/template-tags/
try those and see if that helps.
Hi!
I met a similar trouble using Widget Logic and Bbpress.
When using the tag !is_bbpress() alone, it is working perfectly.
But when using conditional tags, like :
!is_page(‘page_name’) || !is_bbpress()
then the !is_bbpress() is not intrepreted anymore.
Any idea about what I should do to solve this?
FYI The current bbPress Conditional Tags are here:
http://codex.bbpress.org/bbpress-conditional-tags/
(The link posted previously was for the old bbPress standalone version and not the current v2.x plugin)
Hi,
Thank you for your answers.
I’ve made some others tests using specific bbPress conditional tags and other WP conditional tags.
It appears that the operator OR (||), and maybe && also, doesn’t work with in any conditonal tags when used in a Widget Logic box area.
I mean, when using alone any conditional tag, then it’s ok : is_post_type_archive(‘forum’), is_singular(array(‘forum’, ‘topic’, ‘reply’), is_page(‘page_name’), is_single()…
But when combinating two of them with the || operator, then any of these 2 conditions is working anymore.
Well… maybe it’s just linked to my configuration (I just don’t know why…).
Have a nice day.
mareva
Thanks Mareva
!is_bbpress()
did the job I was looking for. I wanted some of the sidebar stuff off in the forum and some forum search etc on.