BuddyDev

Search

Making BuddyBlog the default tab for BuddyPress member profile

  • Participant
    Jim Yuan on #1269

    Hi, I have buddyblog installed. I am trying to make the buddyblog tab the default tab when user goes into the buddypress profile page. I am trying to do this via define(‘BP_DEFAULT_COMPONENT’, ‘x’ ); function in bp-custom.php. What is the tab identifier for buddyblog? For example, the tab identifier for profile tab on buddypress is “profile”, so if I want to change the default tab from Activity tab to Profile tab, I just need to write code define(‘BP_DEFAULT_COMPONENT’, ‘profile’ ); function in bp-custom.php. I would like to do the equivalent for buddyblog. Thank you in advance for reply and feedback! Cheers!

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #1270

    Hi Jim,
    Welcome to BuddyDev forums.
    Please try this

    
    define( 'BP_DEFAULT_COMPONENT', 'buddyblog' );
    
    

    Does that work?

You must be logged in to reply to this topic.

This topic is: not resolved