Show Profile page instead of homepage when clicking users in search results

Home Forums BP Profile Search Forum Show Profile page instead of homepage when clicking users in search results

This topic contains 3 replies, has 2 voices, and was last updated by  andrea 2 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9892 Reply

    Nick

    Right now when you successfully search for a user and click on their profile it takes you to a page with 2 tabs, “home” and “profile”. is there a way to get rid of the “home” page or have it default open to “profile”?

    #9893 Reply

    andrea
    Keymaster

    Hello Nick,

    Try adding this line to your file bp-custom.php:

    define ('BP_DEFAULT_COMPONENT', 'profile');

    #9916 Reply

    Nick

    where is the file bp-custom.php? I can’t find it

    #9918 Reply

    andrea
    Keymaster

    It’s in the plugins folder, if not you can create it. See:

    https://codex.buddypress.org/themes/bp-custom-php/

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Show Profile page instead of homepage when clicking users in search results
Your information: