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.
to-title-case.php
to the /wp-content/plugins/
directoryThis should technically work on any WordPress installation with the ability to
install plugins, as the_title
has been around since before it.
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? 🙂
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.
= 1.0.2
Ryan: Use Unicode characters correctly.
Kroc: Add \p{L}
to get accented letters working.