Front-end login: Redirect user to the post they had created
If I were you, I would use the wp_login_form function to create your form, but it looks like you got everything right, and maybe you have a good reason to use a manual form. <?php wp_login_form(); ?> Either way, you can use this action to update the login redirect, add it to functions.php: add_action( ‘login_redirect’, … Read more