Advertisement
Guest User

WPRecipes guest post template

a guest
Feb 24th, 2015
761
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. TITLE (ex: How to remove login shake effect when error occurs)
  2.  
  3. EXCERPT (Ex: Don't like the "shake" effect which occurs each time a login error occurs? Here is a super easy snippet to remove it for good.)
  4.  
  5. CONTENT - Encode your html on http://www.opinionatedgeek.com/dotnet/tools/htmlencode/encode.aspx
  6. (Ex:
  7. Simply paste the following code into your <em>functions.php</em> file:
  8. <pre>
  9. function wps_login_error() {
  10. remove_action('login_head', 'wp_shake_js', 12);
  11. }
  12. add_action('login_head', 'wps_login_error');
  13. </pre>)
  14.  
  15. CREDIT - Encode your html on http://www.opinionatedgeek.com/dotnet/tools/htmlencode/encode.aspx
  16. (Ex: <strong><em>Credit: <a href="http://wordpress.org/support/topic/plugin-simplemodal-login-remove-shake-effect">WordPress Support Forum</a></em></strong>)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement