WordPress.org

Ready to get started?Download WordPress

Forums

Add Message on Password Protected Page. (7 posts)

  1. miracon
    Member
    Posted 1 year ago #

    Hi there! I am trying to find where I can add a message to the page that appears when someone first needs to enter a password to access the page. Thanks so much in advance for your help! :-)

  2. Fire Truck
    Member
    Posted 1 year ago #

    This message is defined in the file wp-includes/post-template, however you shouldn't edit it there, but create a filter in the file functions.php that should look like this -> http://pastebin.com/7Q62kStb
    The edits you'll make to this form will appear on your site.

  3. miracon
    Member
    Posted 1 year ago #

    Thank you soooo much Fire Truck! I looked at your link. I've never created a filter so I just want to be sure I do this correctly. Do I just cut and paste your code in the functions.php file and then edit the wording to what I want it to say?

  4. Fire Truck
    Member
    Posted 1 year ago #

    Yes.

  5. miracon
    Member
    Posted 1 year ago #

    Thank you again! :-)

  6. miracon
    Member
    Posted 1 year ago #


  7. Fire Truck
    Member
    Posted 1 year ago #

    What's exactly the problem? Show me your code.

Topic Closed

This topic has been closed to new replies.

About this Topic