To Title Case

December 05, 2009

To Title Case Plugin

Automatically convert post titles on-the-fly, using Kroc Camen's port of John Gruber's title case.

Automatically convert post titles on-the-fly, using
Kroc Camen’s port of
John Gruber’s title case. All
most all of the code was written by Kroc Camen, so he deserves the credit.
Credit also to David Gouch and John Gruber, who wrote the
Javascript port and original Perl
versions respectively.

Installation

  1. Upload to-title-case.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done! Go to your site and notice the new spiffy titles.

This should technically work on any WordPress installation with the ability to
install plugins, as the_title has been around since before it.

FAQ

Who wrote this?

The original version was written by John Gruber for use on his site,
Daring Fireball. David Gouch then wrote a
Javascript port, which improved on
the original script by handling some edge cases. Kroc Camen then ported it to
PHP
. Finally, Ryan McCue (that’s me)
wrote the WordPress adaptation.

Confused yet? 🙂

What if I find a bug?

If the bug is a WordPress specific bug, contact me via
my website. If the bug is to do with title-casing
itself, contact Kroc Camen.

Changelog

= 1.0.2
Ryan: Use Unicode characters correctly.

1.0.1

Kroc: Add \p{L} to get accented letters working.

1.0

  • Original version.

Details

  • Version: 1.0.2
  • Active installations: 100
  • WordPress Version: 2.0
  • Tested up to: 2.9.2

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars