wordpress snippets last updated   : January 28, 2015
we now have 645 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