Andy Beard Wants Dramatic Titles: Just Like Muhamed Saleem’s.

Andy Beard is hankering for titles like Muhammad Saleem uses to lure in StumbleUpon traffic:

Muhammad Saleem’s Title

Notice the title is centered, and there is a break after the colon?

I suspect it can be done with CSS, but I’m wretched at that. So, I wrote a plugin called Nifty Titles. :)

Other features

  1. Doesn’t add the break in the feed. (Or at least it didn’t at my test blog.)
  2. Only shows in the page title.
  3. As far as I can tell, doesn’t screw anything up.
  4. Right now breaks on the “:” only. I could code a “candy” to give authors more control and/or permit breaking on “?”.

Will this lure in StumbleUpon Traffic? Tell me what you think.

—-
Note: After clicking publish, I notice this does something ugly in the admin panel. That will be easy to fix in the morning. In the meantime, if you have suggestions about breaking on “?” or “!” or anything else, let me know. It’s easy to do.


Update: I modified to a) fix the ugliness in the admin panel, add a after the first “:”, “?” or “!” but only break if there are at least 20 characters before the punctuation. (I want something easy to use that doesn’t ever look stupid.)

4 Responses to “Andy Beard Wants Dramatic Titles: Just Like Muhamed Saleem’s.”

  1. Andy Beard says:

    Hmmmmm, it does make some posts work, such as this one, but with something like the Arrington post it isn’t qite so effective.

    Isn’t there some way to do this in reverse such that a BR is entered, but by default is filtered out on everything else other than when the title is used for a post? (so it doesn’t mess up other title listings)

  2. Andy Beard says:

    I have a flight in a few hours, so a little pushed to really think about it any more.

    A lot comes down to how plugins treat BR

  3. Dane Morgan says:

    I have to be honest, that I’m simply much more likely to use a custom field to achieve this effect, but the idea for your plugin is pretty cool nonetheless. Have you considered using a configuration to let users select their breack out character and let them choose to append the break after or replace it?

    Then they could select a character they wouldn’t use in a title and precede the break with any (or none at all) punctuation they want.

  4. Andy Beard says:

    I am still here.. still drumming up Diggs on that interview…

    Ok think about this.

    You enter a title
    If the title contains a then it automatically prepopulates a custom field (I have a plugin that auto creates custom excerpts when you save) and removes the from the pain title.
    You might need to get it to prepopulate even on a draft save when there is a slug defined otherwise posts might be pinged with the wrong title.

    Then use your logic for top of a post and use the custom field

    This allows for exceptions (just delete the custom field)

Leave a Reply