A weblog authored by Carthik about the latest in the WordPress world.

Saturday, January 22, 2005

Private Posts In 1.2 – Hack

Filed under: — Carthik @ 3:32 pm

You can mark your WordPress posts as “Private” in addition to “Public”, “Draft”, “Password Protected” and such. In 1.2 the private posts are not displayed on the blog, not even to the author of the private posts, when she’s logged in. So they are like drafts which do not show up as such. I beleive that the behaviour is the same with 1.5, with Private Posts disappearing down some crack, so the only place they are listed in in the admin section for managing posts. I have been thinking about making it so that the Private Posts are only visible to the author of the post, when she visits the blog.

It’s already been done. Here’s the code for “Fixing Private Posts” and here’s my hat-tip.

I beleive some thought needs to go into why private posts are not displayed on the blog at all, and as to what their purpose in life might be, in 1.5 at least :)


  1. What I don’t understand is why people post privately to their own blogs. If it’s private, and identifiable to you, why are you putting it on the internet at all ?

    And if it’s because you want to share it with a few people regularly, that’s even odder.

    Create an anonymous blog.

    No worries then about posts showing or not, passwords going astray….

    Comment by Podz — 1/22/2005 @ 5:13 pm

  2. I post private entries to my weblog all the time. I just re-imported a whole bunch of old entries and there are some, quite frankly, I don’t want anyone to read but me, and I also do not want to delete them completely from my site. So I’m all about the private entry and it drove me nuts that I couldn’t see them!

    People use private posts in livejournals and weblogs for everything under the sun; I know my roommate posts private entries containing chapters for her Nanowrimo novels as a way to back it up.

    All in all, I’ll have to play with this code to see if it works in 1.5 because I’ll be pretty happy.

    Comment by Aubrey — 1/23/2005 @ 10:23 am

  3. Do you know of a way to make the password protect feature work with 1.5 (the entry is protected, but upon entering the password the entry is still not visible? I’ve posted at wp support, but no help so far. Any help is appreciated. (please accept my apologies if I shouldn’t have posed the question here.)

    Comment by a. — 1/23/2005 @ 3:40 pm

  4. a.
    I have noticed a bug report regarding this problem, and I am sure it will be fixed in due time. I am currently busy and so can’t tend to it rightaway, but if I have a free day, I will look into it.

    Comment by Carthik — 1/23/2005 @ 3:57 pm

  5. Having a private post function is good. Especially for people like me who keep a blog like a diary, and there are just some things u wanna keep, but not show anybody.

    I use to hate just putting entries as draft, cause it clutters the admin screen. Now with private, the bad thing is… there’s no quick way to access all my private post! and i’ll have to swim through tons of stuff to find them.

    Wished there was sth that would make the private post viewable by author only. THat would satisfy me. haha.

    ANd regarding that password thing. (yes i use it. for my ‘private’ entries) using latest beta, mine displays the entries. but not the comments. So i can read the entries, but it still asks me for the password to view comments. (and no place to enter password)

    Comment by TedFox — 1/26/2005 @ 1:34 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.


Powered by WordPress

eXTReMe Tracker