HOW-TO : Add your XBox GamerCard to WordPress Blog
How-Tos April 9th, 2007I was looking through the web and couldn’t find a plugin that would pull my GamerCard information and add it to the Sidebar widget so I got creative. Here is how I did it :
- Go to Presentation > Sidebar widgets (This assumes you have the Sidebar plugin installed)
- Drag the ‘Text 1′ widget from the pool in the bottom and add it to Sidebar 1. If you don’t have a Text widget or are already using one then in the ‘Text Widgets’ section add increase the number by 1
- Click on the ‘Text 1′ (or Text # - where # is some number corresponding to the text widget number) and add the following :
<a href=”http://profile.mygamercard.net/[yourgamertag]“>
<img src=”http://card.mygamercard.net/gel/[yourgamertag].png” border=”0″>
</a>
Make sure you replace [yourgamertag] with your actual gamer tag. Here is what my code looks like this :
<a href=”http://profile.mygamercard.net/mordani”>
<img src=”http://card.mygamercard.net/gel/mordani.png” border=”0″>
</a>
You can also generate the above code from http://www.mygamercard.net/
Click on the thumbnail below to see what the text widget looks like (during setup)
And the final result is… (Yes - your gamer card)




April 11th, 2007 at 6:19 pm
For anyone interested in taking this one step further, I’ve written an Xbox 360 WordPress plugin that extracts the various elements of your gamer card from the Xbox Live site and then outputs those elements as XHTML. This means you can fully customize the style of your gamer card using your WordPress theme’s style.css.