How to display error message when password is wrong in password protected pages
-
Hi,
As many of you know, when using the wordpress standard password protection for pages, there is no error message when password is not correct, it just redirects to the same login page.
I went through tens of topics in several forums and I couldn’t identify a correct way of displaying a simple “Password incorrect, please try again” message. Is there simple code that I can type in my functions.php to display an error message rather than the standard redirect to the same login page?
Many thanks,
Adrian
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to display error message when password is wrong in password protected pages’ is closed to new replies.