This is a jQuery-dependent polyfill for the placeholder input attribute. If you’re relying on “placeholder” pop this code in your page and you don’t have to let IE users hanging in the breeze. function activatePlaceholders() { var detect = navigator.userAgent.toLowerCase();
I find that I tend, with the nature of what I blog about, to need to post code into my blogposts. Unfortunately this is one area where the WordPress wysiwyg is lacking. The code tags don’t always work, especially without
I spent too much time today hunting down how to do this, so I thought I’d spell it out clearly. Add the following snippet to your LocalSettings.php OR includes/OutputPage.php file and it will insert the META tag ROBOTS NOINDEX, NOFOLLOW into the header. As you
When building a WordPress plugin it’s important to know where your plugin sits. An early plugin I release relied heavily on several files inside the plugin directory. Nothing wrong with that, only that at the end of the day, the
I’m always referring back to what’s in the WordPress global $post variable. It’s useful to know what’s inside when doing pretty much anything from building a plugin to a theme… Now I won’t have to var_dump-ing it every time I