This handy function reduces a string to a given length, but doesn’t cut-off the last word if it appears in between the limit. The function would truncate the string to the end of the previous word instead…
If you want to filter certain posts by tags in your WordPress theme, here is a simple way to do so before executing the WordPress loop.
I recently ran into a problem where I wanted to display only posts tagged with a specific name in the WordPress Archive page (part of my theme). However, searching on Google only showed how to filter posts by Category. Here is the solution I came up with…
My first week with Android 4.0 and the Samsung / Google Galaxy Nexus
I came into a recent issue where I wanted to hide ?id=xx from the query string of a URL so I could use a single Facebook Comment Plugin with different data. I fixed the issue by using a few lines of code in a .htaccess file.
If you have various password protected pages on your website, but want people to Like your pages (via Facebook), there is a simple trick you can use to allow this.
The Cage Cricket application is my first cross-platform mobile application built using Trigger.io and Parse, and works on iOS and Android.
For Halloween, I helped wonga.com reskin an old app they had originally developed with a third-party agency. The app used Adobe Flash as the main user interface, with a PHP / MySQL backend.