4 years, 10 months ago
I am running WP multisite with buddypress using a child theme of bp-default. I would like to remove the sidebar from all buddypress pages (activity, groups, members, sites, search, etc).
I have been able to find the code and remove it from activity and groups, but cannot seem to find the file for the members or site directory and the search page.
Anyone know where to find the files?
Didn’t understand how you were be able to find how to remove the sidebar on activity and group and not on the other pages, but here is how to remove it on what you’re asking for now
bp-default/members/index.php > contains the call to the sidebar
Copy index into the child and remove the line 92: get_sidebar( ‘buddypress’ );
The same in members/single/home.php
Similar for search. bp-default/search.php (copy to child) and remove get_sidebar at the end of the file.
When copy/pasting, remember that the child should reflect exatly the same directory as the original theme
Thank you! I was able to find them late last night. Just silly mistake on my part.
4 years, 4 months ago
Wondering if i missed something, removed sidebar from these pages, but they are stil showing
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service