I am using BeTheme which allows you to pick and choose when you want a sidebar, how many and where. However, this option doesn’t work for any buddypress and bbpress pages.
I had someone add an fix this issue. He used this code:
// sidebar setting for administrator member page buddypress with a custom script
function bp_set_admin_sidebar() {
global $bp;
if((bp_is_profile && $bp->displayed_user->id == 1) || $bp->loggedin_user->id == 1) :
echo “<script type=’text/javascript’>
jQuery(function(){
jQuery(‘.sidebar-1’).detach().appendTo(‘.content_wrapper’);;
});
</script>”;
endif;
}
add_action( ‘wp_footer’, ‘bp_set_admin_sidebar’ );
My two issues is that only I can see this sidebar, I need all members to see it. My second issue is that I want to add a left sidebar on the pages as well. I’m not sure how to go about this, what code I would need to change etc
I tried different plugins but they don’t seem to recognise the left side bar or a place for it.