Skip to:
Content
Pages
Categories
Search
Top
Bottom

Customise Profile Page – Remove Icons etc


  • vincenzon617
    Participant

    @vincenzon617

    Hi there,
    I am not sure if this has already been answered so apologies if it has (I cannot find an answer). What i would like to do is remove some of the icons and menus from my BuddyPress profile page. Currently I have 6 buttons on the profile (‘Profile’,’Activity’,’Notifications’,’Friends’,’Forums’,’Settings’). These have sub menus as well, for example if I choose ‘Profile’, its submenus are ‘Home’, ‘View’, ‘Change Profile Picture’.
    What I would like to do is remove everything but ‘Friends’, ‘Forums’ and ‘Settings’. Then I would like only “replies created” to be shown when the user clicks on the ‘Forums’ button. I am currently using bbPress within my site for the forums if that helps (I would add an image but I am having trouble doing so).
    If anyone could help me with this or point me in the right direction to achieve what I would like that would be great!
    Many thanks.

Viewing 1 replies (of 1 total)

  • vincenzon617
    Participant

    @vincenzon617

    It seems as though no one replies on this forum, quite annoying, but I have found the solution and will post it if others need to do this.

    Add this to your ‘functions.php’ file:

    
    function mb_profile_menu_tabs(){
    global $bp;
    
    unset($bp->bp_nav['forums']);
    
    unset($bp->bp_nav['notifications']);
    	
    unset($bp->bp_nav['profile']);
    	
    }
    add_action('bp_setup_nav', 'mb_profile_menu_tabs', 201);

    (http://blog.maximusbusiness.com/2013/06/buddypress-profile-custom-bp-menu/)

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar