I have just finished my first WordPress plugin. If you’ve noticed Sam’s age popping up at the bottom of posts in the Childhood & Fatherhood category, that’s my plugin at work. If you’ve noticed pages not acting quite right, well, that’s my plugin when it wasn’t working. 🙂
I think I’ve gotten it all fixed up now, and am releasing it to the relatively small community of people who read my blog. Of my readers, I think that only one other (non-family) reader blogs with wordpress (Hi Luke), so this is a fairly small release. Once I’ve had it in play a little longer, and maybe tested it on the 2.0.x version of WordPress, I’ll see about announcing it to a larger audience.
Still, I’m excited. I only learned PHP this past fall, but I’ve been having a lot of fun with it. SamTrak is pretty much all PHP, including the dynamically-generated sleep image. And of course, since WordPress itself is in PHP, so is this plugin. Alas, while I’m pleased with the result, I’m not entirely happy with the code itself. The primary code files (the plugin definition, and the Duration class) I’m quite happy with. But I have a few supporting files that are big, monolithic blocks of code that I’m not too pleased with. Still. Yipee, Plugin.
If you’re curious, go see more about it here.