DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Daily archives: Wednesday, February 3, 2010

Remove Private/Protected from Post Titles

Posted by on

I had the situation come up where I need a password-protected post in WordPress. Of course that is super easy in WordPress, you can set up a password for it right in the “Publish” box before publishing. But by default, WordPress appends “Protected: ” to the front of the post title, before and after the password has been entered. I didn’t like that, and thought that the password box was clue enough that the material was password protected.

Code is poetry