Skip to:
Content
Pages
Categories
Search
Top
Bottom

in profile hide notifications and settings


  • fanmusic
    Participant

    @fanmusic

    Hi,

    In the profil I would like to delete the Notifications and settings buttons, How can I do that ?

    thanks a lot

    best regards

    fan

Viewing 2 replies - 1 through 2 (of 2 total)

  • Brajesh Singh
    Participant

    @sbrajesh

    Hi Fan,
    Do you mean removing the tabs in user profile ?
    If yes, Please visit Dashboard->Settings->BuddyPress then click on the components tab.
    there you can disable the Notifications and settings component.

    If you are using WordPress multisite, you can find the BuddyPress settings under NetworkAdmin->Settings->BuddyPress

    Hope that helps.


    fanmusic
    Participant

    @fanmusic

    Hi,

    Actually no, thats not it, there is no option for that in buddypress, I need to hide the buttons notifications and settings (that are along with profile, messages groupes etc.)
    it’s in the front office.

    thanks a lot

    PS : someone posted this, I think it’s on the right track but it doesn’t work :/
    [ edited – please use ‘code’ button when posting code ]
    Try this in bp-custom.php

    function fanmusic_remove_profile_nav_remove( $nav ) { 
            
         $nav = '';
                    
         return $nav;
    }
    add_filter('bp_get_displayed_user_nav_notifications', 'fanmusic_remove_profile_nav_remove', 10, 1 );
    add_filter('bp_get_displayed_user_nav_settings', 'fanmusic_remove_profile_nav_remove', 10, 1 );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘in profile hide notifications and settings’ is closed to new replies.
Skip to toolbar