• daisyhead

    (@daisyhead)


    Anyone know how I can change the text for password protect entries? Currently my permalink reads:

    Entry: Protected: (entry title) | Enter your password to view comments

    I would like to shorten the text up. You can see an example here.
    Thanks,
    Daisyhead

Viewing 6 replies - 1 through 6 (of 6 total)
  • chuckg

    (@chuckg)

    The relevant information you’re looking for should be in your template-functions.php around line 850 or so, right in the Post Tags category. The function name is:
    get_the_password_form()
    Right in there you can edit up all the stuff you want to change ??

    Thread Starter daisyhead

    (@daisyhead)

    Thanks! I thought I had looked through all that code. Just got it changed. =)
    -Daisyhead

    I opened my wp-includes/template-functions.php and edited the text for my password-protected entries. But when I uploaded it and tried to open my blog, I got this error message:
    Parse error: parse error, expecting ','' or ‘;” in /home/silverto/public_html/solitude/ramblings/wp-includes/template-functions.php on line 370
    Fatal error: Call to undefined function: get_month_link() in /home/silverto/public_html/solitude/ramblings/wp-includes/template-functions.php on line 238
    Can someone help me? Thanks in advance ??

    You’re going to have to show us what the line that’s referring to looks like, I think, in order for us to help you out. Sounds like you’re missing some quotation marks or a ; operator on the line above. Just show us the a few relevant lines ??

    I somehow fixed it. It just doesn’t like it when I use any tags (like when I tried inserting my email address). I don’t really get it, but it works fine now! ?? Thanks for the help!

    Cool! I did this too. Looks better somewhat.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Password Protected Entries’ is closed to new replies.