Widget Logic Conditional for bbPress
-
So I love Widget Logic and have had great success using it.
Here is how I use it for specific Categories etc…
is_category( array( '6', '7', '14' ) ) || (is_single( array( '6', '7', '14' ) ) && in_category( array( '6', '7', '14' ) ) )
My question is though…
How can I write up a conditional that only shows the widgets for bbPress on bbPress and does NOT let the bbPress widgets appear on the blog?I tried this and does not seem to work.
bb_is_forum( 'forumName' )
My Research Thus Far
This Page looks correct:
https://hskinrepair.com/forums/forum/forum/There are NO “blog” based widgets.
This Page is incorrect:
https://hskinrepair.com/category/blog/I’m trying to exclude the Forum Widgets but cannot figure this one out as they are not based on Category or Page id’s.
- The topic ‘Widget Logic Conditional for bbPress’ is closed to new replies.