change the default tab opened when looking at a user’s profile
-
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’ );
- The topic ‘change the default tab opened when looking at a user’s profile’ is closed to new replies.