Remove Password Login Link on Form

Hello, on our page http://flooringassociation.org/login/

we would like to remove the link for “Lost Password.” All of our users login information will be prepopulated so we don’t need that functionality. Can you please help us accomplish this? Thanks.

  • Titanium Creative
    • Finder of Elusive Bugs

    It might be easier to just create you own login form with

    <div id="login"><?php wp_login_form(); ?></div>

    You have to add the registration and password reset link as extra calls, so this should get you where you want to go.

    I’m not sure if there is a way to do:

    remove_action('login_reset', 'some_function');

    login reset is an action hook. you may be able to do

    remove_action('login_reset');

    Then there is the ever popular css option:

    p.lost-password { display:none; }

    That will hide it but it will still be there.

    My vote is for make your own form.

    Hope that helps.

  • PC
    • WPMU DEV Initiate

    Hey there @@ibizworks

    Thanks for posting on the forums.

    Apart from the great suggestion by @Titanium Creative above, I would like to suggest some CSS if you simply want to hide it.

    Just add the below to your CSS

    .feralf_form p.lost-password {display : none !important}

    Please let us know how that goes :slight_smile:

    Cheers, PC

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.