Mou

Guitar Hero 3 Widget – a plugin for WordPress

**Note** – this game has now been taken offline by its creators. This page is being left for historic reasons only!

A little while back someone sent me a link to a mini flash version of Guitar Hero 3, and suggested it could be fun as a WordPress plugin.. so here it is. The Guitar Hero 3 Widget for WordPress.

Once activated, you’ll be able to add it to your sidebar as a widget (if you’re using WordPress 2.3 or above), or place it into your posts/page using [gh3] shortcode (if you’re using WordPress 2.5 or above).

The thing I like about this plugin, and probably the reason I was so keen to do it, is that it sets the basis for plugging any flash movie into a sidebar or post in a cross browser, xhtml compliant way. It could be adapted for any flash movie simply by changing the link to it in the code. It takes advantage of the shortcodes api introduced into WordPress 2.5, and the widget api introduced in 2.3, and will probably be used within a few plugins I have planned for the future.

Installation

1. Download and unzip the plugin
3. Upload gh3w.php to your plugins directory
4. Go to the Plugins page in your WordPress Administration area and click to ‘Activate’ the Guitar Hero 3 Widget.

How to use

Sidebar
Add the widget to your sidebar as normal. To set the width of the widget, click the ‘edit’ link and save your changes. The height is worked out automatically.
Requires WordPress 2.3 or above

Posts/pages
Simply add [gh3] to your and this will automatically generate embed the Guitar Hero 3 Widget directly from the Rocketxl website.
By default, the widget will display at a width of 350px, but you can specify width yourself within the shortcode. Ie: [gh3 width=”200″]. Again, the height is worked out automatically.
Requires WordPress 2.5 or above

Alternatively, heres a copy of the embed code, in case you want to just add it manually…

<object type="application/x-shockwave-flash" data="http://www.rocketxl.com/gh3/gh3widget.swf" width="350" height="327">
<param name="movie" value="http://www.rocketxl.com/gh3/gh3widget.swf" />
<param name="wmode" value="transparent" />
</object>

So yeah, just a bit of run really. Enjoy! ;o)


4 Responses to “Guitar Hero 3 Widget – a plugin for WordPress”

  1. Really like this widget – also posted it on my page… !!
    (but I do suck at this game…… 😉 )

    http://www.sjeltur.nl

  2. awesome. i’m going to try it on my site.

    rockvideogames.com

    thanks!

  3. I’ve got that widget. It’s addictive!!

  4.  
  1. Funny Guitar Hero 3 Wordpress Widget | Sjeltur
  2.  

Leave a Reply

css.php