Error Message for Password Protected Posts/Pages
Does anyone know of a way to have WordPress display an error message (or any other type of feedback) for the password form on a password-protected post or page?
As it stands, marked a post/page as “private” creates the need for a visitor to enter a password to view the content. Fair enough. But what the visitor sees is a basic form that just reads “Password:” then has a field and a submit button.
If the visitor enters the incorrect password, nothing happens.
I’d like to make it so an error message of some kind is displayed, such as “Error: you have entered an incorrect password. Please try again.”
Thanks for any & all help!
- The topic ‘Error Message for Password Protected Posts/Pages’ is closed to new replies.