If you’ve ever needed to find the first or last day of a given period and you’re rocking a PHP version greater than or equal to 5.2, today is your lucky day!
I often find myself developing applications that need to support users in different timezones, it is important to these users that dates are displayed in their preferred timezone. I thought I would share with you the function I use to create a list of timezones, each with their current UTC offset.
When developing a WordPress theme it’s important to consider the benefits of localisation, this alone will open your theme up to the widest possible audience. In this tutorial I am going to show you how easy it is to include localisation support.
With its simple interface and speedy performance Google Chrome’s popularity has gone from strength to strength with no sign of slowing down and it’s currently the most widely used browser in the world with over 200 million active users. Extension support was added a year after release and today the Chrome Web Store now hosts over 10,000 extensions, here is my pick of useful extensions for web designers and developers.
Have you ever wanted to display a maintenance page to all of the visitors to your site, whilst still being able to view it as normal yourself?
This small snippet will do just that, as the title suggests it requires a
.htaccess file and
mod_rewrite so it’ll only work with Apache servers that have the
mod_rewrite module enabled.