Forums

Protected Entrys: Changing Text (5 posts)

  1. RunningSpirit
    Member
    Posted 6 years ago #

    Right now when I password protect an entry it says

    This post is password protected. To view it please enter your password below:

    Which is fine and dandy. But I want to change it. I've gone through all of my files in the layout and I'm not sure where to find that line of text.

    Can someone please tell me in what file I can find it under from the below files?? Or is it in a different place?
    archive.php
    comments.php
    footer.php
    header.php
    index.php
    links.php
    searchform.php
    sidebar.php 1 k 644
    style.css

  2. finn_redkanga
    Member
    Posted 6 years ago #

    When you got to the manage section and edit a post (or a page) you will see that the password field is filled in. Change that field and save the post and you will have your new password.

  3. moshu
    Member
    Posted 6 years ago #

    @finn_redkanga,
    The question wasn't about changing the password but about the text displayed when a post is password protected.
    The solution is in the wp-includes/template-functions-post.php in very first lines.

  4. finn_redkanga
    Member
    Posted 6 years ago #

    moshu: my bad, missed that... thanks for the correct answer :)

  5. RunningSpirit
    Member
    Posted 6 years ago #

    Thanks! Thats what I needed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.