Excellent customisation
-
Excellent plugin to customise your standard login page.
The settings weren’t 100% with some changes not showing or rendering differently to expected but the output was as expected.
Added a bit of custom code to functions.php/Snippets so any logins just from the ‘standard wp-login.php’ would redirect to the home page. Other logins else where handled by another plugin.function my_login_redirect( $redirect_to, $request, $user ) {
if($host = "/wp-login.php") {
$redirect_to = home_url();
return $redirect_to;
}
}
add_filter( 'login_redirect', 'my_login_redirect', 10, 3 );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Excellent customisation’ is closed to new replies.