WordPress.org

Ready to get started?Download WordPress

Forums

Password issue. (2 posts)

  1. justintyler
    Member
    Posted 7 years ago #

    I'm having some difficulty with password-protection in WP 2.0.1.

    I can't seem to replicate the issue, but two people, neither of which I have given the password to, can see password-protected posts. I'm fairly new to WordPress, and I'm running it on my own local server. (Apache 2, php5, MySQL 5). I also have the "blix" theme installed, version 0.9.1 installed. I tend to doubt that would have any affect, but I suppose it's possible.

    If this has already been mentioned, sorry, I did search prior to posting this.

  2. Aryana
    Member
    Posted 7 years ago #

    I've posted this in response to other entries (particularly about the Blix theme showing pw-protected posts) but I'll just copy & paste. This worked for me!

    I've found the solution! Thanks to this post: http://wordpress.org/support/topic/67016

    In archives.php, replace every instance of "the_excerpt" with "the_content", as the above post says to do.

    BUT also replace every instance of "post_excerpt" with "post_content".

    By doing BOTH of these things, the password box will show up in both the category and single-entry views. The password-protected post itself will not be visible.

    Hopefully this is something that had already been figured out... but if not, I'm glad to have shared the solution :)

Topic Closed

This topic has been closed to new replies.

About this Topic