Skip to:
Content
Pages
Categories
Search
Top
Bottom

Click on member go to profile


  • autox420
    Participant

    @autox420

    How to when i click on a member from ”member list” go directly to profile? Not his activity.

Viewing 1 replies (of 1 total)

  • autox420
    Participant

    @autox420

    Found a solution.

    functions.php

    if( !defined( 'BP_DEFAULT_COMPONENT' ) ){
        define( 'BP_DEFAULT_COMPONENT', 'profile' );
    }
    function bp_remove_profile_tab_activity(){
       bp_core_remove_nav_item( buddypress()->activity->id );
    }
    add_action( 'bp_setup_nav', 'bp_remove_profile_tab_activity', 999 );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar