add_filter( 'generate_sidebar_layout','tu_custom_buddypress_sidebar_layout' );
function tu_custom_buddypress_sidebar_layout( $layout )
{
// If we are on a buddypress page, set the sidebar
if ( function_exists( 'is_buddypress' ) && is_buddypress() ) {
return 'both-left';
}
// Or else, set the regular layout
return $layout;
}
Tnx for your quick reply:)
adding this if some one else are having same prop ??
I found out that buddypress treat the pages of user and member as an blog ore post.
And I need to change them in Admin -> appearence -> customize -> layout.
Sorry for not telling you before and tanx for taking the time to help..
Do love your theme.