Media Library images missing in modal uploader

This is an interesting little WordPress problem, and I don’t think I’ve seen a solution posted elsewhere. On a couple of projects recently, I found that, while creating a custom… More »

Fields missing from POST in PHP? This could be why

So you have a webpage with a big form, with a large number of input fields, maybe loads of checkboxes or hidden inputs. The form POSTs to a PHP page… More »

Find last day of a month in PHP

Here’s a simple trick to find the last day of a month using PHP. $date_of_last_day = date("Y-m-t", mktime(0, 0, 0, $month, 1, $year)); This will give you the last day… More »

Quick post thumbnail check in WordPress Admin

The post thumbnail feature introduced in WordPress 2.9 is an absolute boon, but the WordPress core developers missed a small trick which would have made the use of post thumbnails… More »

jQuery UI Datepicker in WordPress Admin

If you create your own WordPress plugins or themes, you will probably have found yourself in a situation where you have added a date field to a plugin’s admin page… More »

Plugins versus the functions file

Sometimes I take on the maintenance of existing WordPress-based websites, and obviously part of my initial work is to assess a site’s performance, stability, extent of customisation, etc. It all… More »

Non-standard image/pjpeg mimetype on IE

Here’s a lovely little Internet Explorer “feature” that may have web developers cursing, so I figured I would write a brief post about it in the hope that IE doesn’t… More »