Skip to:
Content
Pages
Categories
Search
Top
Bottom

change the default tab opened when looking at a user’s profile

  • Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    I found this little gem out there on the web:
    To change the default tab opened when looking at a user’s profile (default is activity), add this line to your wp-config.php file:

    define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    What I would like to do in user profile, is make the default tab be the “Groups” tab under “Activity”, would this be:

    define( ‘BP_DEFAULT_COMPONENT’, ‘activity/groups’ );

You must be logged in to reply to this topic.