• In your plugin there is the option:

    ‘Hide “Register / Lost your password?” link’

    I want to remove the “Register” link but KEEP the “Lost Password” link.

    Can you suggest a filter to do that?
    OR can you add this as a feature on your next release?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support VUM Support – Jhay

    (@jhayvum)

    Hello,

    Sorry, I can’t promise to include it on the next release, but for sure we will consider this feature, we need to make sure it will not do any issues.

    For now, you can change it using Custom Javascript. In White Label CMS Settings -> Login Tab -> Custom JavaScript Section, add the following code:

    document.getElementById('nav').innerHTML = '<a href="https://YOURSITE.local/wp-login.php?action=lostpassword">Lost your password?</a>';
    Change the domain(https://YOURSITE.local)

    Make sure to uncheck “Hide “Register / Lost your password?” link” option, and it should look like this https://d.pr/i/CW7IYQ.

    I hope this help.

    Thread Starter TWD

    (@twd)

    I’m not sure I follow.
    Don’t you mean that I should CHECK the “Hide Register / Lost Password” link?

    Because your Javascript is adding it back to the page, yeah?
    So that would make sense if it was removed to begin with.

    Plugin Support VUM Support – Jhay

    (@jhayvum)

    Hello,

    Actually the easiest way to remove the Register is from WordPress Settings Uncheck “Membership” https://d.pr/i/3ZH78X

    If you don’t want to disable from WordPress setting, make sure that ‘Hide “Register / Lost your password?” link’ option is unchecked then add the javascript that I sent. This code will remove the register link, it will look like this https://d.pr/i/XrzfWR.

    Thread Starter TWD

    (@twd)

    I see, so the JavaScript will just replace the existing “nav a” element, right?

    If so, BOTs will still find the “Register” link since they are crawling the DOM before JS kicks in.

    Hence it would be better to add it to the page via JS AFTER the link was removed, no?

    We cannot deactivate “Register” because we still need people to register user accounts on the site as part of a membership signup checkout process, but NOT from the Login page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove “Register” link but NOT “Lost Password”’ is closed to new replies.