Archived topic
Login on 404
2 replies · Started by leo on October 31, 2017
Viewing posts 1–3 of 3
I have a lot of members-only pages on my site. When I link to such a page in an e-mail, members end up on the 404 page when they click the link. Is it possible to insert a login form on the 404 page?
Never mind, I found it.
Put <?php wp_login_form(); ?> somewhere on 404.php
Glad you found the solution!
This archived topic is closed to new replies.