Hi @maxkrak
Try adding this to your theme/child-theme’s functions.php file or use the Code Snippet plugin to run the code:
function um_071921_login_url ( $login_url, $redirect, $force_reauth ) {
if( ! function_exists('um_get_core_page') ) return $login_url;
return um_get_core_page('login') . '?redirect_to=' . $redirect;
}
add_filter( 'login_url', 'um_071921_login_url', 10, 3);
The above code will change the Login URL to UM Login page URL but this depends on your theme if that link is not created with the filter login_url then you will have to contact your theme developer to look into this.
Regards,
Thanks a lot! Problem solved!
Hi @maxkrak
Thanks for letting us know.
Regards,
(@maxkrak)
4 years, 10 months ago
On my site, to add a comment, you need to log in and there is a link in the place of the comment – https://clip2net.com/s/4cQC8uc
But when you press it, you get to wp-admin, not to the user login page.
How to fix it?