SpiderMarket's logo
home       blog       resumé

If you like what you see, consider signing up for our RSS Feed.
Subtitler, My First Wordpress Plugin: Put Subtitles on your Blog

So this is a really hacked together plugin right now. It works, and I don’t think it should mess anything up, but the coding isn’t pretty and it does some weird things depending on which browser you’re using. I have been frustrated with WordPress’ lack of ability to put subtitles in magazines. It is pretty obvious that WordPress isn’t designed perfectly for it. There are an awful lot of bloggers[1][2][3], and there is even one company that claims to have a plugin for subtitles but hasn’t made it available for download. who have written on how to use custom fields on your blog to create subtitles. Anyhow, I don’t want to scroll down to the custom fields part of my entry screen, but I do want subtitles.

My plugin allows you to add subtitles by typing the_subtitle() into your theme. It actually does just create a custom field, but it’s in a location that is convenient (right under the Title input), and it’s got an appropriate tab (right after the title input). So, basically, it’s easy to use and convenient. I’ve only tested it in a WordPress 2.5 installation, and I doubt it works in anything much older.

Try it out, let’s debug the sucker together. It’s got a few problems, but nothing too terrible.

Download it here

3 Comments »

This is great. Validates perfectly and is exactly what I was looking for. Thank you.


Comment by Ruth — September 25, 2008 @ 2:09 am

Brilliant. Small aesthetic problem: I think you’re using absolute positioning; the field doesn’t move when WP display the AJAX-loaded notification after saving (’Page updated. Continue editing below or go back.’), resulting in the Title field ending up below the Subtitle field.


Comment by mark — September 27, 2008 @ 10:47 am

Enable the visual editor to see some more problems of the absolute positioning. The subtitle input field floats above the toolbar of the visual editor.


Comment by mark — September 27, 2008 @ 11:21 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Contact Us junsethatgmaildotcom
My Google Pagerank The Brown Spectator Uses Wordpress

Site created by SpiderMarket