Title: Password Protected custom message
Last modified: August 19, 2016

---

# Password Protected custom message

 *  Resolved [lmadiou](https://wordpress.org/support/users/lmadiou/)
 * (@lmadiou)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/password-protected-custom-message/)
 * Hi all,
    I did some searching around looking for a way to edit the default “_This
   post is password protected. To view it please enter your password below:_” message
   on a password protected page but couldnt find any solid info on it.
 * I found the default text in the post-template.php file and edited it to say “
   _This **page** has been protected, please contact me_…blah blah”, but my page
   still has the default text. See here:[http://lwonder.com/?page_id=42](http://lwonder.com/?page_id=42)
 * I was able to find/change the text for password protected comments via the comments.
   php but cant figure it out for pages + posts.
 * What do I need to edit to change the default text?
 * thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [lmadiou](https://wordpress.org/support/users/lmadiou/)
 * (@lmadiou)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/password-protected-custom-message/#post-1641390)
 * In case anybody was wondering: [answer here](http://petersteinberger.com/2010/03/wordpress-change-the-default-text-for-password-protected-pages/)
 *  [izzaboo](https://wordpress.org/support/users/izzaboo/)
 * (@izzaboo)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/password-protected-custom-message/#post-1641640)
 * I was wondering. Looks like the same solution as [here](http://wordpress.org/support/topic/this-post-is-password-protected-magazine-basic).
 * But I couldn’t get that to work with WP v3.0.1 and the Cordoba GreenPark 2 theme.
 * Any thoughts? Is there a particular place in the functions.php file that function
   should go?
 *  [cbulen](https://wordpress.org/support/users/cbulen/)
 * (@cbulen)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/password-protected-custom-message/#post-1641691)
 * I tried the solutions linked to above, and it did not work for me either. Can
   someone help?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Password Protected custom message’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [password](https://wordpress.org/support/topic-tag/password/)
 * [protected](https://wordpress.org/support/topic-tag/protected/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [cbulen](https://wordpress.org/support/users/cbulen/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/password-protected-custom-message/#post-1641691)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
