Once it’s running.
Started 1 year, 10 months ago by: caplain
Is it possible to exclude my WordPress sidebar from ALL buddypress pages? I’m using my WP theme via the buddypress template pack.
Around where you include your sidebar.php, try something like this: http://buddypress.pastebin.com/1KeQHxEx
I tried your solution in page.php
if (bp_is_blog_page()) { get_sidebar(); }
My sidebar still appeared on all BP pages.
I discovered the problem: I’m using a widgetized theme, so dynamic_sidebar() is being used. Now I have to figure out where that is called to see if I can wrap that in a ‘if(bp_is_blog_page()){}’…
Resolved. My solution (in sidebar.php) has been amended to http://buddypress.pastebin.com/tkUDryN3
Thanks for pointing me in the right direction.
@caplain that worked like a charm for me, too. I run two sidebars and wrapped that to disable one of them on the bp pages. thanks!
You can also use the Widget Logic plugin with the conditional statements listed here: http://wordpress.org/support/topic/buddypress-and-widget-logic.
The easiest way to enact this is to exclude all component groups.
Existing and new plugins/components and themes.
Show off your BuddyPress powered sites.
Problems with getting it running.
Discuss translating BuddyPress
Everything else.
Feature requests; criticism.
Post your add-ons here.
To start connecting please log in first.
Remember Me
Think you've found a bug with the software? Please report it here (use the same login credentials).