Want to give All in One SEO pack access to WordPress roles that are not Administrators? Here’s a quick solution.

See the function

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

If you are attempting to learn Durandal JS and getting “Script error for: knockout” from their website’s HTML Starter Kit (producing a blank screen), here is your fix. (more…)

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

When using JSLint or JSHint, you will get the "Missing radix parameter" error when using parseInt without a second argument. (more…)

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

A problem with WordPress’ built-in picture gallery is that it will include a featured image in the gallery itself if one exists. See the solution

For searching logs, you will often want to see the content surrounding the string you are searching for with grep. (more…)