wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Login with username or email address

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let users login using an email address or a username. The second snippet will change the text on the login page from “username” to “username / email” but feel free to change the login text to anything you would like.

read more