My Photo about us Contact us terms of use

Avoiding bobbing WordPress login screen

Posted by Muhammad Asif on Nov 6, 2012
Avoiding bobbing WordPress login screen

Surely you noticed that when you mess with the user or password to access the screen WordPress "agita" wiggles from side to side so that you clearly realize that you were wrong.

This effect is caused by a small Javascript code , that if you do not like it you can disable.


Doing so is simple, as well, because you just have to add a small feature to your plugin function or file functions.php of your current theme, this:

//Quitar el meneo de los fallos de acceso
function quitar_meneo_login() {
remove_action('login_head', 'wp_shake_js', 12);
}
add_action('login_head', 'quitar_meneo_login');

Save the changes and you're one frikadas less in WordPress.

{ 0 comments... read them below if any or add comment }

Post a Comment

Popular Posts

 
Copyright 2010 Wordpress blog updates - Seo plugin, template tutorial, logo design
Blogger template Design By Muhammad Asif