WordPress.org

Forums

Protected (4 posts)

  1. anarchy756
    Member
    Posted 9 years ago #

    Where do you edit the "This post is password protected. To view it please enter your password below:" thing?

    I assume it's in the index.php template, but I just don't see it there.

    Thanks

  2. hallsey
    Member
    Posted 9 years ago #

    That code is in template-functions-post.php, found in wp-includes. It's the first function declared in the file, get_the_password_form().

  3. anarchy756
    Member
    Posted 9 years ago #

    Thanks, why doesn't it let you use HTML in it?

    And where to you change the "enter password to view comments" thing?

  4. hallsey
    Member
    Posted 9 years ago #

    Hmmm, I'm not sure I understand the question. That particular function is just the form that asks you for the password. What are you trying to achieve? Did you forget a password or ...?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags