With this snippet you can click outside an element specified by a selector to perform some action. A common usage would be to close a popup when clicking outside of…
Read More
With this snippet you can click outside an element specified by a selector to perform some action. A common usage would be to close a popup when clicking outside of…
In the post, I show how to add javascript to your admin pages. This JS will only run when you are inside the WordPress dashboard. The example I use is…
With this snippet you can easily preload your images, css, js. The script initiates after the page loaded so it doesn’t affect loading time. window.onload = function() { setTimeout(function() {…