Have same issue. With BuddyPress you simply just set which page is the community page. When using the page template settings and selecting no sidebar it still shows the default side bar. I also have tried to replace the sidebar with a custom sidebar specifically for BuddyPress and it always shows the default sidebar.
Hi,
You can set the buddypress to full width using the option form theme penal -> https://i.imgur.com/ocao6Gf.png and you can set from there the sidebar.
Hope this will help you!
Thanks, Calin, but that sets the sidebar for ALL pages on the site. We still want the default sidebar on other pages on the site and only want to change the sidebar on just the BuddyPress pages (groups, activity, members). We tried changing the sidebar in the template settings on the actual pages themselves, but it appears BuddyPress is pulling in the default sidebar no matter what we do.
-
This reply was modified 5 years by
nearview.
So for all of those that are interested, there is a bug in the Standard Pack plugin on the plugins/td-standard-pack/Newspaper/page.php template.
On line 20 where it says
$td_page = td_util::get_post_meta_array($post->ID, 'td_page');
you should replace that with
if($post->ID === 0){
$page_id = get_queried_object_id();
$td_page = td_util::get_post_meta_array($page_id, 'td_page');
} else {
$td_page = td_util::get_post_meta_array($post->ID, 'td_page');
}
As when you are on a page which has any BuddyPress components on it, the $post variable is not set which means none of the page settings from TD are being used.
@Calin can you submit his to your developers so we don’t have to modify core code?
