• PHP Function: Get a file’s last modified timestamp

    I’ve recently found the need to show a file’s last modified timestamp. This function is useful when including CSS or JavaScript files. By including a query string will ensure web browsers re-download a fresh copy of the file rather than using a cached file. Simply run this function as you’re including a file, such as: ...
  • What to expect from Google I/O 2015

    With Google I/O 2015 starting shortly, here is what I most hope to see: Android M announcement with news and Nexus 6 download images New Chromecast hardware and updates Android wear news and updates ChromeOS updates The keynote is scheduled to last 2.5 hours, so there should be much more news. Be sure to livestream ...
  • Custom WordPress login

    WordPress has a wide range of options to change the look and feel of your WordPress setup. One that most people overlook is the login box, accessible at http://yourdomain.com/wp-admin/. Using the code below, you will be able to apply a custom CSS stylesheet to the login page. Firstly create your stylesheet. You could name the file ...
  • Change Bootstrap 3 Navicon on toggle

    I’ve been looking at how to change the button icon which is shown across Bootstrap 3 navigation menus in a mobile viewport. For months I’ve come across a whole variety of clever Navicon icons which change when clicked upon. I wanted to implement this feature into a Bootstrap navigation menu. In the end, I used a ...
  • Using Font Icons with WordPress 3.8 Custom Post Types

    WordPress 3.8 introduced a new Admin design which now uses Font Icons instead of images. This method has many benefits such as great support for Retina devices and quicker load times. Before WordPress 3.8 you had to use images for your icons, now you can use Font Icons, specifically the icons designed for WordPress called ...