By default, the platform does not have this option. You can use the following function code to hide/remove the BuddyPanel on specific pages.
Please follow the steps below:
1. Go to Appearance > Theme Editor.
2. Under Select theme to edit, choose (BuddyBoss Child/whatever theme is active), then click Select.
3. Below Theme Files, select Theme Functions (functions.php).
4. Append the code just before the closing PHP tag “?>”:
// Remove BuddyPanel on certain pages function bb_remove_buddypanel_menu() { // Please change the number inside the array to the // Page IDs you need to exclude if( ( is_page( array( 1, 2, 3, 4 ) ) ) ) { unregister_nav_menu('buddypanel-loggedin'); unregister_nav_menu('buddypanel-loggedout'); } } add_action( 'template_redirect', 'bb_remove_buddypanel_menu', 20 );
Please note this example shows example pages 1,2,3,4 - please delete this and replace with your page id's of the pages you you would like for the buddypanel to be removed on.
5. Click Update File to save the changes.
Note: Any modifications are considered as custom work already. Know more about our Support Policy here: https://www.buddyboss.com/support-policy/
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.