WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Edit text for private post page (5 posts)

  1. vicki
    Member
    Posted 8 years ago #

    You know when you have a private post with the password box there's text like, "This post if password-protected", etc.? How do you edit that text? I want to include that someone should e-mail me if they want the password.

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    template-functions-post.php
    Line 5

    ` ' . __("This post is password protected. To view it please enter your password below:") . '

    Remember this change as it will go when you upgrade.

  3. vicki
    Member
    Posted 8 years ago #

    Thanks, it mostly worked, but can I put html in the text? Like is it possible for me to put a link for e-mail in there?
    Also, in the process I think I killed something. There's an error: http://midori.inspirae.org

  4. Truth
    Member
    Posted 8 years ago #

    If I'm not wrong you can? Not too sure, try it? I think I tried that before but can't remember whether it works or not. Did you backup that file you edited before that? You might want to reedit it from the old copy..

    for the html, try using ' instead of "

    eg <a href='http://'>text</a> instead of the usual " to see if it works, test it ;)

  5. vicki
    Member
    Posted 8 years ago #

    Thanks, using just these '' worked. I'm still getting an error, and I think it's because I touched the spacing in the file. I think I can fix it though by re-uploading that file.
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic