Remove wordpress login shake effect when error occurs

Have you ever been annoyed by the login error shake? As if the shaking is mocking you every time you enter the incorrect username or password. Ya me neither but if you do wish to remove the shake after a login error add the following snippet to the functions.php of your wordpress theme.

Don’t forget to check out this new snippet to Capture users last login date and time.

function wps_login_error() {
	remove_action('login_head', 'wp_shake_js', 12);
add_action('login_head', 'wps_login_error');

Comments  Leave a Reply

  1. Works a charm! Thank you!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!