Less Talk, More Do Christopher Finke is a software engineer at Mahalo. He is available for birthday parties and bar mitzvahs.

Posts tagged with 'Themes'

Optimizing Your Website for the Wii

Thursday, February 22nd, 2007

I've optimized my blog (and thus my Greencode Wordpress theme) for browsing on the Nintendo Wii. So if you read my blog on the Wii, it will look like this:

My website on the Wii

It was pretty easy, and you can do it too, by following these two simple steps:

1. Create a Wii-friendly stylesheet. This is similar to creating a mobile-friendly stylesheet, and it involves enlarging the text, removing superfluous crap, and just making your site easier to read from a distance. You can see the stylesheet I created here.

2. Serve the Wii stylesheet to Wii users. The user-agent string of the Wii will be something like Opera/9.00 (Nintendo Wii; U; ; 1309-9; en), so in PHP, you can accompish this like so:

if (strpos($_SERVER['HTTP_USER_AGENT'], "Wii;") !== false){
[... wii stylesheet ...]
} else {
[... regular stylesheets ...]
}

And just for fun, I also added an "Optimized for the Nintendo Wii" watermark in the top-right corner and enabled the Wii stylesheet for anyone who adds "?wii=1" to the end of a URL. For example, here is the Wii-friendly version of this post.

Greencode Wordpress Theme Updated (0.3)

Saturday, February 3rd, 2007

I've updated the Greencode Wordpress theme (which I'm using on my site) to version 0.3. Since version 0.2, I've added a print stylesheet (screenshot of a printed page below), optimized the header image to reduce its size by half, and fixed a few miscellaneous bugs.

Example of page with only print style applied.

You can download the newest version from the Greencode homepage.

Greencode Wordpress Theme

Tuesday, January 2nd, 2007

I’ve finished putting together my first Wordpress theme, which I’ve named Greencode. It’s the same one I use on this site, so this is your chance to be a little more like me; go ahead and download it here.

Greencode Wordpress Theme

Newish design

Tuesday, December 12th, 2006

I've updated this blog to share a design with my main site. Bonus points to anyone who can determine the sources of the code shown in the header image for either site.