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
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.
@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.
finn_redkanga
Member
Posted 6 years ago #
moshu: my bad, missed that... thanks for the correct answer :)
RunningSpirit
Member
Posted 6 years ago #
Thanks! Thats what I needed.