Froggie went a-courtin’ and Bender is great, uh-huh…
FuturamaSubtitle Plugin for Wordpress 2.0
Most of you might not have a clue what that means, and still others may only have some inkling. So, I’m going spell it out for you. Yep, I’ve written my first plugin for Wordpress 2.0. You knew it was bound to happen. Why do you look so surpised?
It all came about when my wife asked for a feature on her Wordpress blog that I couldn’t find a plugin for. She has this knack for needing things no one else does. But, I digress. I couldn’t find what she needed and I have written some plugins in the past for other blogging frameworks, so I decided to poke around and see what I could see. This plugin is the result of learning to write a plugin for Wordpress 2.0. I’ll be tackling my wife’s project next.
FuturamaSubtitle Plugin for Wordpress 2.0 is a plugin that chooses randomly from an array composed of the opening subtitles from each Futurama episode and then displays the random choice. It’s sort of been done in celebration of the really cool news. To use it:
- Download the latest version.
- Unzip it and upload it to your plugins directory.
- Activate it from your Plugins admin panel.
- Add the following code where ever you want the random subtitle to appear.
If you want just the random subtitle to appear, add:
mrd_do_futurama_subtitle();
If you would like the subtitle to be linked back to gotfuturama.com then add the following:
mrd_do_futurama_subtitle(1);
That’s it! Please leave a comment if you download it and use it, or if you have problems with it. Otherwise, enjoy!