change password in wordpress first login

Recent Posts



7 responses to “Force Users to Change Password on First Login in WordPress

  1. Atul Host May 22, 2018 at 1:13 pm

    Awesome tutorial. It will surly help my author based blog to secure from weak passwords.

  2. Lionel November 8, 2018 at 3:13 pm

    Hello, are you sure it’s working? Cause for me, nothing append

  3. Lionel Robuchon November 8, 2018 at 3:26 pm

    get_currentuserinfo() is depreciated, you have to work with wp_get_current_user now, but still. It’s not working for me. any word around ?

  4. Françoise December 6, 2018 at 3:47 am

    Hi ! Thank you for this tutorial ! But is it possible to create a shortcode to display the form into a page created with Elementor ?

  5. Doudou December 6, 2018 at 9:48 pm

    Hello, thank you for this tutorial. I tried it but id doesn’t work correctly. J had to change the line return get_bloginfo(‘url’) . “/reset-password/?redirect_to=”.$redirect_to; in return get_bloginfo(‘url’) . “/the-name-of-my-renew-password-page;

    because the link didn’t work. Now, the user is correctly redirected to this page. But after entered his new password, the same page is reloaded without any error message. It’s WP Do you have an idea ? Thanks a lot !

  6. Gaby December 9, 2018 at 1:38 am

    hello, thanks for your tutorial. Is it possible to create a shorcode (and how) to display the form into a page created with Elementor ? Thanks a lot

  7. Gaby December 10, 2018 at 5:57 pm

    Thanks for this tutorial but is it necessary to create a new fiel in the user table ?
    I added your code in functions.php and created a new model page.
    At the first login, this page open. But after entry the new password, I come back on the same page.
    Thanksfor your help

Leave a Reply

Your email address will not be published. Required fields are marked *