If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to remove the login shake effect

This tutorial is going to show how to remove login shake affect in WordPress.

WordPress. How to remove the login shake effect

If you ever enter a wrong user name or password when logging into WordPress, then you will notice that the login box shakes:

WordPress-How_to_remove_login_shake_effect-1

  1. To remove this effect, you should connect to FTP or File Manager, follow this path wp-content\themes\themeXXXXX\includes and look for custom-functions.php file:

    WordPress-How_to_remove_login_shake_effect-2

  2. Open custom-functions.php file, then add the code bellow to the bottom:

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

    WordPress-How_to_remove_login_shake_effect-3

  3. When everything is done, go back to WordPress admin panel to log in, then you will see that login shake effect has been successfully removed.

Feel free to check the detailed video tutorial below:

WordPress. How to remove the login shake effect