add new tab on profile menu

Home Forums Legacy Support Support queries Other issues add new tab on profile menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #255068
    Kasimrixa
    Participant
    Hello team, hope everyone is doing great! I have a quick question for you. How can I add a new menu tab on the profile page? Please look at the link below. https://imgur.com/0H5LqvH Appreciate any feedback on this
    #255172
    Jackson
    Blocked
    Hello @Kasimrixa, For editing the buddypress profile menu you can use the "bp_setup_nav" action, for more information about this action refer: http://hookr.io/actions/bp_setup_nav/ And can use this plugin for same work : https://wordpress.org/plugins/buddypress-custom-profile-menu/ Thanks,
    #265433
    SuperDave
    Spectator
    This plugin is not downloadable anymore
    #265695
    Jackson
    Blocked
    Hello, Well to add tabs from user's profile you can add this code in your wplms-customizer.php file : function bp_add_nav_tabs() { bp_core_add_nav_item( 'activity'); bp_core_add_nav_item( 'notifications'); bp_core_add_nav_item( 'commissions'); //you can add like this } add_action( 'bp_setup_nav', 'bp_add_nav_tabs',999 ); ==>> to remove tabs from user's profile you can add this code in your wplms-customizer.php file : function bp_remove_nav_tabs() { bp_core_remove_nav_item( 'activity'); bp_core_remove_nav_item( 'notifications'); bp_core_remove_nav_item( 'commissions'); //you can add like this } add_action( 'bp_setup_nav', 'bp_remove_nav_tabs',999 ); Thanks,
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘add new tab on profile menu’ is closed to new replies.