• Resolved battenkat

    (@battenkat)


    Hi great plugin. Is there a way to remove the ‘forgot’ word from the login form? I only have 1 or 2 users making posts and do not want them to change their passwords from this form.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Try adding the following line to the “Custom Content” setting:

    <style>#usp-login li:nth-child(3) { display: none; }</style>

    Should do the trick.

    Thread Starter battenkat

    (@battenkat)

    Hi Jeff:
    Thanks for the quick answer. Unfortunately, the ‘forgot’ is still showing up. I am not much of a css person. Here is some of the page source, I am not allowing anyone to register from the login form so I don’t know if that is pertinent:

    <style>
    #usp-login li:nth-child(2) { display: none; }
    .usp-login #tab2_login, .usp-login #tab3_login { display: none; }

    Plugin Author Jeff Starr

    (@specialk)

    It would be easer to understand what’s going on if I could look at the URL that is displaying the login form. Otherwise, it’s just guessing at things in general. I tested the above code on default WP with user registration disabled. If you have user reg. enabled the code may have to be tweaked.

    Thread Starter battenkat

    (@battenkat)

    Hi I sincerely appreciate your time:

    Test Login Posts

    • This reply was modified 3 years, 8 months ago by battenkat.
    Plugin Author Jeff Starr

    (@specialk)

    Thanks. Are you sure you added the code correctly? I do not see it anywhere on the page.

    Thread Starter battenkat

    (@battenkat)

    Jeff I will recheck. Thanks for all your time!

    Plugin Author Jeff Starr

    (@specialk)

    Note if you are using any sort of cache plugin, you may need to clear/empty cache before any changes will take effect.

    Thread Starter battenkat

    (@battenkat)

    Jeff I ended up putting the code you gave me in the page’s css code and it worked hiding the ‘Forgot’. Maybe there is something in my theme that caused the custom code not to work?!? Anyway, I’m happy.

    Plugin Author Jeff Starr

    (@specialk)

    So it’s working? If so, great. Glad you got it sorted.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to remove Forgot (password) from login form’ is closed to new replies.