Want to give All in One SEO pack access to WordPress roles that are not Administrators? Here’s a quick solution.
Here is a helpful function for WordPress theme designers and developers. You can remove the Featured Image controls when creating a post, in case you have something custom that you want to use.
Get the function
I just ran across a usage of
Date.now() in a web application and noticed it throwing an error in IE8, our lowest common denominator of a browser. Here is a quick fix to make sure you get your number value back in all browser. see the script.
Popovers are useful for tooltips, notes, or other short messages. Bootstrap does a good job of its native popover tooltip, but needs a bit of help to work with a mobile device (since they don’t have hover). Cover all your bases
Embedding PDFs or other content into websites and web apps has become commonplace. Inevitably you will want to have menus that drop down over those PDFs or have some other element that can overlay the iframe that you place the PDF in.
Most browsers understand this desire and are happy to accommodate. Unfortunately, Internet Explorer in its many versions still does not handle this. Get the easy fix
With Twitter Bootstrap modals in either version 2 or 3, you can easily prevent the modal window from being closed with the escape key or by clicking on the black backdrop outside the window. see the code