kieranbarnes Independent PHP, WordPress & CubeCart Programmer

WordPress Opengraph and Microdata Generation without a plugin

Posted on February 17, 2012

Posted by kieran

Its really useful to have Opengraph (Facebook) and Microdata (Twitter) information in your blog header.

The Facebook Opengraph and Schema.org microdata lets you optimize your blog much more better and helps search engines to index your website better to show rich snippet.

It also lets Facebook and Twitter users to share your blog with proper title, description, url and image.

There are loads of plugins available to do this, but why use a plugin when its only a few lines of code?

Salford City Stadium

Posted on January 23, 2012

Posted by kieran

Taken on a wet and rainy day in Salford, you can see the website for Salford City Stadium advertised from Barton Bridge on the M60.
I was lucky enough to work on the WordPress powered website last year (2011)

 

 

[Snippet] Clearing forms with Javascript

Posted on March 29, 2011

Posted by kieran

When creating forms on a website it is helpful to place descriptive text with some of the form fields to help the user understand what they should type in the box. I can never remember the Javascript to do it

  1. <input value="Username" onclick="this.value=''" type="text">
Tagged as: No Comments

WP Super Cache – I’m impressed

Posted on July 31, 2008

Posted by Kieran

Pictures speak better than words...