Browse Site

Add a Featured Image to your WordPress Theme

If your theme doesn’t make use of WordPress’s featured image out of the box, then all you need to do is to add the following lines of code to your functions file; add_theme_support( 'post-thumbnails' ); add_filter( 'the_content', insert_featured_image, 20 ); …

Read More

Posted in php, WordPress | Tagged , | Comments Off

Reclaim Windows 8

I’ve mentioned in a previous post that, while I was overall happy with the upgrade of my Windows 7 laptop to Windows 8, I wasn’t overly impressed at being forced to use the Metro UI to navigate to the traditional …

Read More

Posted in Geeky Stuff, Systems | Comments Off

First Reaction to Windows 8

I finally got around to upgrading my installation of Windows 7 the other day to Windows 8. The main push behind it was that Microsoft’s offer of upgrading for £25 expired at the end of January and so it was …

Read More

Posted in Geeky Stuff, Systems | Tagged , | 1 Comment

Registering / Unregistering WordPress Scripts in the Header

The background behind this one is that I needed to alter the JavaScript filenames used within a plugin, font-resizer (which I would heartily recommend) in order to prevent an http 406 error being thrown which in turn was breaking all …

Read More

Posted in Blog, Blogging, php, Web, Websites, WordPress | Comments Off

What is an http 406 Error?

While working on a site for someone who had sorted out their own hosting, with a hosting company I’d not used before, I came across an http 406 error on installing a WordPress site that had worked fine in my …

Read More

Posted in php, Web, Websites | Comments Off

Get WordPress to send comment alerts

Do you ever wish that your WordPress plugin let you know when someone’s left a comment on your site? I run this script on a cron job which runs hourly and does exactly that… require_once('../wp-config.php'); // this gets the database …

Read More

Posted in Blog, Blogging, Geeky Stuff, php, Web | Comments Off

Michael Schumacher Bemoans Pirelli’s Tyre

Michael Schumacher has today hit out at F1’s current tyre situation, saying “I question whether the tyres should play such a big role“. Maybe he’s upset that he only finished tenth at Bahrain at the weekend, or that Kimi managed a …

Read More

Posted in f1, Formula 1 | 1 Comment

Football Fan Distributes Image

I was saddened to read today about Norwich City fan Chris Brown who was reportedly contacted by police for distributing, via Twitter, an image (and promising to distribute a video in the near future) of the club’s new kit before …

Read More

Posted in Geeky Stuff, Social IT, Web, Websites | 1 Comment

php SOAP Service with XML

I was given the task of calling a web service in php recently that formats the parameters as an XML (Extensible Markup Language) document. As I’ve always housed parameters in arrays before for soap calls, and usually utilise XML web …

Read More

Posted in Geeky Stuff, php | 2 Comments

E-Mail: About As Secure As …. erm …

I wasn’t going to post this (and by the time you get to the end of the post, you may wish I hadn’t!!), as I thought that the e-mail message had finally arrived by 2012. It appears not… In a previous …

Read More

Posted in Geeky Stuff, php, Rant Central, Systems | Comments Off