Blog

A Beautiful Tool for Displaying Online Magazine ISSUUS
You know how it is, you have a print magazine, ...
Introducing Black Widow 1.0: the Best Magazine Theme Concept Released on WordPress to Date
I've had numerous entries about the Black Widow Magazine theme. ...
One of the most uninteresting news sites on the internet
The Brown Daily Herald has got to be one ...
Internet Explorer 8
Today i downloaded Internet Explorer 8, which is ...
Making a Theme Your Own
One of the first things I did when I uploaded ...
 
Subtitler, My First Wordpress Plugin: Put Subtitles on your Blog
by Joshua Unseth

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

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 »

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

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

  2. 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

  3. 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

Most Viewed

RSS Feeds
© 2008 SpiderMarket