I’m trying to edit the template page which is used when a page or post is password protected. I can’t seem to have much luck locating it.
do you know where it is?
I’m trying to edit the template page which is used when a page or post is password protected. I can’t seem to have much luck locating it.
do you know where it is?
You must be logged in to post a comment.
It’s my understanding that the password protected pages/posts use the same templates are regular pages/posts. If you’re looking to change the standard message “My post is password protected. Please ask me for a password:”, try adding this code snippet (changing the text to read how you want) to your theme’s function.php file:
I found this over at Change Wording for Password Page by WP Engineer.
In a child theme of twenty-thirteen, the above did not work. Instead, I used this code (unfortunately, I cannot remember who wrote it):