Hey Guys, i had support a while back about only having one sidebar displayed on the forums. The below was given to me and it does still work but for some reason it’s now also changing all the buddypress pages which i don’t want. Maybe since the update it started happening.
add_filter( 'yt_site_tertiary_content_general_layout', 'yt_bbpres_site_layout' );
add_filter( 'yt_site_secondary_content_general_layout', 'yt_bbpres_site_layout' );
add_filter( 'yt_site_page_layout_primary', 'yt_bbpres_site_layout');
add_filter( 'yt_site_page_layout_secondary', 'yt_bbpres_site_layout' );
add_filter( 'yt_site_page_layout_tertiary', 'yt_bbpres_site_layout' );
/**
* Return current layout for bbpress
*/
function yt_bbpres_site_layout( $current_layout ){
if( yt_is_bbpress() )
return 'right-sidebar';
return $current_layout;
}