PHP webdeveloper and frontend developer




How to make a custom protected page in WordPress

Category : PHP, Wordpress · by Jul 3rd, 2013

The default password form uses this message: “This post is password protected. To view it please enter your password below:”.

You can use a custom text to display on a protected page by using a filter in WordPress. Add this code to your theme’s functions.php file:

 

SHARE :

(1) Comment

strikeone
4 years ago · Reply

Not working, 3.8.1

Leave a Reply

Your email address will not be published. Required fields are marked *


s