How to View and Style the WordPress Reset Password Form

- 1 comment

Development,WordPress

If you want your admin experience to match your frontend branding then there are several forms you need to style:

  1. Log In form (https://domain.com/wp-login.php)
  2. Lost Password form  (https://domain.com/wp-login.php?action=lostpassword)
  3. Lost Password form confirmation (https://domain.com/wp-login.php?checkemail=confirm)
  4. Reset Password form make edits then visit(https://domain.com/wp-login.php?action=rp&key=123&login=<ANY_VALID_USERNAME>)
  5. Password Reset success (https://domain/wp-login.php?action=resetpass)

You may have trouble when figuring out how to view and style the WordPress Reset Password form. The Reset Password form and Password Reset success form will be tricky to view if you’re developing locally with an AMP stack. There are a few lines you can comment out from wp-login.php to be able to view those forms quickly and ensure they’re styled correctly: lines 580, 583, and 586-93.

Remember that file is a core file, so undo any changes you make to it because they’ll be lost when WordPress gets updated.


Comments

Leave a Comment