Redirect users to a front end wp login page
I do this the same, but a little differently, and handle the case of logging in regular users or admins. I will assume you know to put these sorts of things in your “functions.php” or equivalent. add_filter(‘login_url’, ‘your_login_url’, 10, 2 ); add_action(‘login_init’, ‘your_login_page’); add_action(‘wp_login’, ‘your_login_redirect’, 10, 2); // assuming that your new front end login … Read more