Skip to:

How to get top Buddybar login link to another page than the standard wp-login page?

  • Avatar of Erling


    I’ve now tried a lot of things – and hope to see if somebody can help me here:
    Take a look at my site under construction; – everything’s working fine. I installed the plugin “Theme my login” and it’s working fine – except for the case that you use the “log in” button in the dark Buddypress top bar.
    How can I get this login button to direct people to my customised login-page instead of the standard
    I found the piece of code in the buddypress/core/bp-core-buddybar.php as you can see below – but I can’t find out to change it?
    Any suggestions or other ideas?

    // **** “Log In” and “Sign Up” links (Visible when not logged in) ********
    function bp_adminbar_login_menu() {
    global $bp;

    if ( is_user_logged_in() )
    return false;

    echo ‘

  • ‘;

    // Show “Sign Up” link if user registrations are allowed
    if ( bp_get_signup_allowed() )
    echo ‘


You must be logged in to reply to this topic.