BuddyDev

Search

[Resolved] How To Change Login Link In Header Menu Of Community Builder Theme?

  • Participant
    Level: Initiated
    Posts: 4
    BP-User on #48187

    I want to use a custom login link like https://mydomain.com/login and not the default one https://mydomain.com/wp-login.php, I have already done that to my site, but I can’t find a way to change it also on the login button on the header menu, can you please help me out?

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #48188

    Hi,
    Welcome to BuddyDev support forums.

    Community builder uses ‘wp_login_url()’ to show the login link in header. Any plugin that allows you to change the login url from wp-login.php is expected to filter on ‘login_url’ and work with the above function.

    If the header link is still pointing to wp-login.php, that means the code/plugin used for renaming/changing the url is not proper and needs to filter to login_url.

    Can you please tell me what are you doing to change the login url?

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    BP-User on #48194

    Hi Brajesh,
    It’s my pleasure to be in in the support forum and thank you for your fast reply.

    To not use too many plugins I was trying to change it manually to be honest, but as soon I installed and used the plugin “WPS Hide Login” the problem is now solved and the login link is different also in the header menu button, thank you for the tip.

    Regards
    Fran

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #48195

    Hi Fran,
    You are welcome!

    I am glad the issue is resolved! Have a great time building your community.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved