{"id":894,"date":"2014-01-19T23:44:59","date_gmt":"2014-01-19T14:44:59","guid":{"rendered":"http:\/\/www.tciskfactory.com\/blog\/?p=894"},"modified":"2026-10-29T16:30:39","modified_gmt":"2026-10-29T07:30:39","slug":"wordpress","status":"publish","type":"post","link":"https:\/\/blog.coppe.jp\/en\/2014\/01\/19\/wordpress\/","title":{"rendered":"How to easily add a &quot;rumble&quot; shaking action to WordPress when you log in incorrectly."},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-895 aligncenter\" src=\"https:\/\/blog.coppe.jp\/app\/uploads\/Screenshot-2014-01-19-23.00.20-274x300.png\" alt=\"Screenshot 2014-01-19 23.00.20\" width=\"192\" height=\"210\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>When logging into WordPress, if you enter the wrong username or password, it shakes back and forth with a \u201drumble\u201d sound. I found this \"reluctant\" feeling quite amusing, so I decided to adopt it on my own website.<\/p>\n<p><del><a href=\"https:\/\/www.coppe.jp\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.coppe.jp\/<\/a><\/del><\/p>\n<p><del>I've added a subtle vibration effect when you click the text links at the top (1-8) or the \u201dTRACK ON\/OFF\u201d button.<\/del><\/p>\n<p>It might be a simple gimmick, but it's somehow fun. HTML<header> It's a simple thing that only requires adding a little bit of text inside.<\/p>\n<pre class=\"toolbar-overlay:false lang:default decode:true\" data-no-translation=\"\">&lt;script type=\"text\/javascript\" src=\"http:\/\/code.jquery.com\/jquery-latest.js\"&gt;&lt;\/script&gt;\r\n&lt;script type=\"text\/javascript\"&gt;\r\n  $(function() {\r\n    $('a').click(function() {\r\n      $(this)\r\n      .animate({'marginLeft':' 5px'}, 15)\r\n      .animate({'marginLeft':'-4px'}, 15)\r\n      .animate({'marginLeft':' 3px'}, 18)\r\n      .animate({'marginLeft':'-2px'}, 18)\r\n      .animate({'marginLeft':' 1px'}, 20)\r\n      .animate({'marginLeft':' 0px'}, 20);\r\n    } );\r\n  } );\r\n&lt;\/script&gt;<\/pre>\n<p>This will allow you to access link elements within the site (&lt;a&gt;The text and images within the tag elements will &rdquo;rumble&rdquo; from side to side.<br \/>\nIt's easy to install. Give it a try!<\/p>","protected":false},"excerpt":{"rendered":"<p>&nbsp; When logging into WordPress, the user...<\/p>","protected":false},"author":5,"featured_media":2195,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-894","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/posts\/894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/comments?post=894"}],"version-history":[{"count":4,"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/posts\/894\/revisions"}],"predecessor-version":[{"id":1862,"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/posts\/894\/revisions\/1862"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/media\/2195"}],"wp:attachment":[{"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/media?parent=894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/categories?post=894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coppe.jp\/en\/wp-json\/wp\/v2\/tags?post=894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}