Password Protected Page Login Form on Another Page
-
I have a password protected page. I need to put the login form for that password protected page on a different page (the home page, for example). The goal is for the user to fill in the correct password on the home page, and then be redirected to the protected page if the password is correct. I was hoping that “echo get_the_password_form($id)”, with $id being the ID of the target page, would work but it does not. Is there an existing function that can handle this? Or some other way I can make it work? Any help is appreciated.
- The topic ‘Password Protected Page Login Form on Another Page’ is closed to new replies.