Geotagged at the Nokia gate5 office in Schönhauser Allee, Berlin (52.5308072,13.4108176)

WP Biographia In The Real World

It's been almost a month since I released the first version of WP Biographia and in that time, according to the stats on the WordPress plugin page, it's been downloaded 212 times. That's rather gratifying. Several people have also emailed me to tell me that they're using the plugin. That's even more gratifying.

But despite its simplicity, a typical WordPress install is almost infinitely customisable and so is almost never what's supplied in the installation download. People add in plugins, widgets and themes. This blog alone has 18 active plugins and a custom theme. While the plugins, widgets and themes should all play nicely together, sometimes there's strange and unforeseen side effects; here's two that have come to light over the first month of WP Biographia in the real world and not in the safe, sand-boxed environment of my blog.

Firstly there's a CSS clash between WP Biographia and the WPtouch plugin, which displays a mobile optimised version of WordPress when visiting the site on a smartphone browser. The combination of the default options for WPtouch sometimes messes slightly with the CSS for the Biography Box as can be seen below.

WPtouch - Restricted Mode Off

This is something I'll have to look into in more detail, but for now, the workaround is to enable WPtouch restricted mode; once that's done, the CSS reverts to how it should look.

WPtouch - Restricted Mode On

Another interesting oddity is when running WP Biographia with the Biography Box configured to be displayed on Archive pages. Some themes display this fine, but for other themes the Biography Box never appears. Each time I've seen this it turns out to be down to the way in which the theme renders the archive page. If the theme's archive.php uses the_content() as part of the WordPress Loop then the Biography Box appears as it should, but if the theme uses the_excerpt() as part of the Loop, then either the first 55 characters of the post or the post's specific excerpt will be displayed. As WP Biographia appends the Biography Box to the end of each post's content, themes which use the_excerpt() will, sadly, never display as intended when used with WP Biographia. Thankfully, this is less a shortcoming of the plugin or of the theme, it's simply the way in which WordPress handles post excerpts.

All of this will appear in the FAQ section of the plugin's README on the next release, which should, if I manage to write it, make the Biography Box available as a sidebar widget as well.

Gary Gale

I'm Gary ... a Husband, Father, CTO at Kamma, geotechnologist, map geek, coffee addict, Sci-fi fan, UNIX and Mac user