WURFL Capabilities is a Wordpress plugin to add WURFL logic to theme development.