WordPress.org

Ready to get started?Download WordPress

Forums

SimpleModal Login
remove shake effect (2 posts)

  1. adisetiawan
    Member
    Posted 3 years ago #

    Hello,
    is there anyway to remove the shake effect when error occur ? I've looked at js files anywhere but I must be overlooked.

    thanks

  2. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    @adisetiawan - It's actually part of WordPress. Why they added it, I don't know, but I'll update the plugin to remove this "feature".

    If you want to remove it now, you can add the following to your functions.php file:

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

    -Eric

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic