Title: Customizing protected entry text?
Last modified: August 18, 2016

---

# Customizing protected entry text?

 *  [gracebytes](https://wordpress.org/support/users/gracebytes/)
 * (@gracebytes)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/)
 * I am wondering if there is a way to customize the text that shows up when you
   have a protected entry? I’ve tried looking for it but can’t seem to find it in
   all the files.
    Thanks, Grace

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

 *  [southerngal](https://wordpress.org/support/users/southerngal/)
 * (@southerngal)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-26819)
 * It’s in b2template functions:
    /***** Post tags *****/ function get_the_password_form(){
   $output = “<form action='” . get_settings(‘siteurl’) . “/wp-pass.php’ method=’
   post’> This post is password protected. To view it please enter your password
   below: <label>Password: <input name=’post_password’ type=’text’ size=’20’ /></
   label> <input type=’submit’ name=’Submit’ value=’Submit’ /> </form> “;
 *  Thread Starter [gracebytes](https://wordpress.org/support/users/gracebytes/)
 * (@gracebytes)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-26824)
 * Yay thanks!
 *  [southerngal](https://wordpress.org/support/users/southerngal/)
 * (@southerngal)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-26827)
 * Welcome. 🙂 I had meant to do change mine a little, so I figured I would while
   I had it up, searching to help you. So thank you for giving me that push. 😀
 *  Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-27642)
 * Where is this file located? I can’t seem to find b2template anything. I found
   various RSS feeds starting with b2, e.g. b2rss, b2rdf, but no b2template. I’m
   using WordPress 1.0.1.
 *  [Nick Momrik](https://wordpress.org/support/users/mtdewvirus/)
 * (@mtdewvirus)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-27643)
 * b2template no longer exists. The old b2 files were removed when WP 1.0 was released.
   You should be able to find the get_the_password_form function in /wp-include/
   template-functions.php if you are using WP 1.0.1.
 *  Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-27644)
 * I want to add a link into the text to refer users to the original entry of how
   to request the password, but when I try to replace the text with a link, I get
   a parse error on that line. I thought a simple  would work, but I guess not.
   
   Let’s say that I want it to direct users to this link [http://yourwebsite.com/index.php?p=50](http://yourwebsite.com/index.php?p=50)
   with the link saying “this entry” How would I do that?
 *  Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-27646)
 * I tried adding a link into the where it had said “This is a protected entry. 
   etcetc” but I get this error. (continuation of my previous post above)
    Parse
   error: parse error in template-functions.php on line 853 2/14/2004<h3 class=”
   storytitle” id=”post- Fatal error: Call to undefined function: the_id() in index.
   php on line 44

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

The topic ‘Customizing protected entry text?’ is closed to new replies.

 * 7 replies
 * 4 participants
 * Last reply from: Anonymous
 * Last activity: [22 years, 4 months ago](https://wordpress.org/support/topic/customizing-protected-entry-text/#post-27646)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
