In Wordpress within a page template I have a custom registration form which upon submit redirects to:
<form name="registerform" id="registerform" action="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login_post' ) ); ?>" method="post" novalidate="novalidate">
Of course wp-login.php
is where all the magic happens. Thing is I really want my errors displayed right on the page where the error happens. I don't want to be re-directed to wp-login.php?action=register
.
How can I stay on page and display the errors inline?