Title Capitalization for WordPress Adds Convenience to the Writing Process

If you’re a writer, keeping up with all the rules in the English language is tough. One rule I struggle with is properly capitalizing words in post titles and headings. Thankfully, there’s a plugin that takes care of this called Title Capitalization For WordPress developed by Tom McFarlin.

When activated, post titles and content are processed whenever a post is saved as a draft, published, or updated. The rules applied are based on a title case script by John Gruber. The post title and content is saved to the database overwriting anything that was previously written. Changes apply to new posts however, you can update previously published posts by editing them.

The first image shows a post title and content headings with incorrect capitalization. The second image shows the changes that take place after I save the draft.

Before Capitalization
Before Capitalization
After Capitalization
After Capitalization

McFarlin recently released version 1.1.3 which fixes two issues related to Markdown. I tested the latest release on WordPress 4.2.2 and it works flawlessly. One suggestion I have is to allow the rules to be applied on a per user basis.

Title capitalization for WordPress is available for free on GitHub and supports Andy Fragen’s GitHub Updater. Pull requests, issues, and feature requests are welcome.

7 Comments

7 responses to “Title Capitalization for WordPress Adds Convenience to the Writing Process”

  1. If you’re a writer, keeping up with all the rules in the English language is tough. One rule I struggle with is properly capitalizing words in post titles and headings.

    What makes this even tougher is that the “rule” you speak of is actually completely different depending on the stylebook you follow. I lean toward the sentence style employed by many journalists when writing blog posts. It’s the style I learned in journalism classes at Auburn University. However, I also had to always keep a copy of “The Chicago Manual of Style” handy for my English classes.

    You think you’re confused? Try taking multiple English and journalism classes at the same time, each with their own stylebooks.

  2. And if you struggle with this, can you imagine how difficult it can be for a non native speaker? I’m always uncertain of what to do when I write a title. This plugin is a life saver :-)

  3. Thanks for sharing. But there’s very little use for this in the UK, where most people follow a sentence case capitalisation style for titles and headings.

  4. Jeff – thanks for covering this! Definitely didn’t expect to see this on WP Tavern when browsing Feedly this morning :).

    As far as the grammatical rules are concerned, when I have the chance to refactor some of the code for the next iteration of the plugin, I’m hoping to make it easier for other developers to include their rulesets for capitalizations.

    That way, regardless of the type of English that you use, you’ll be able to use the plugin.

  5. I love this plugin! It’s been a favorite for a while. It’s so nice to just be able to write and let the plugin do the legwork. Tom’s one smart dude!

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Get updates from WP Tavern

Subscribe now to receive email updates directly in your inbox.

Continue reading