consultancy · solutions · research

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 of any given month/year combination…

Read 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 even easier. Wouldn’t it be…

Read More

A fresh look at Internet Explorer support

Google recently declared that their web applications will no longer support Internet Explorer 7, a decision I welcomed publicly on Twitter when the announcement was made. Because Internet Explorer has historically treated web standards with…

Read More

Are you ready for WordPress 3.2?

WordPress 3.2 is due for release at the end of this month, and as with most WordPress “second digit” releases, it includes a large number of changes. Some of these changes are in the requirements…

Read 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 – maybe a date associated…

Read More