Wordpress.com Themes
For those of you who don’t know, Wordpress.com is a Blogger type service run by the creators of Wordpress based on Wordpress.
I have to warn you I have no experience using Wordpress.com, and these comments are based on what I’ve heard.
There have a been comments about how theme support in Wordpress.com is very limited since they obviously can’t let people run arbitrary PHP code. I’m not sure what they do let you do but there is a way that will give almost the power of normal Wordpress templates.
I got the idea from Wordpress referring to it’s template markup as tags (since they’re enclosed in <?php ... ?>
). Why not actually use XML tags that correspond to the Wordpress functions? These simpler themes could be transformed into real themes for Wordpress that the user never sees. If they were parsed with regular expressions and went through a callback they could be vetted so only real Wordpress functions are let through. Although it would have to be done carefully for security, it should be fairly straightforward.
So for instance, instead of <?php the_author() ?>
you’d have <wp:the_author />
.