Error Message for Password Protected Posts/Pages (2 posts)

  1. Copernicus
    Posted 5 years ago #


    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!

  2. icc97
    Posted 5 years ago #

    I'm also looking for a solution to this, if any one knows a solution.

Topic Closed

This topic has been closed to new replies.

About this Topic