Hello Tomaž,
Could you please describe the issue in more detail? If possible, a screenshot or video showing the “Log in via WordPress” and “Or Log in via IONOS” options would be helpful. This will allow us to provide a more accurate solution for you.
Thank you,
Brianvu-tp
Hi Tomaž,
“Log in via WordPress” cannot be deleted, thats the Standard WordPress.
“Log in via IONOS” is IONOSs SSO (Single Sign On) Version.
Both Pages are accessible standard WordPress pages wp-login.php. Please think more about redirection for students, so they land on your wished site.
Or what is the original problem you try to solve?
Regards,
Nikolai
Thread Starter
tomazv
(@tomazv)
Hello,
my main wish is for students to log in via my login form. I am not a wordpress expert myself. That’s why I’m looking for solutions on how to do it. If I understand you correctly, this can be done with the redirections in LoginWP?
thanks in advance for any hint on how to do it. 😉
Best regards!
Tomaž
Hi Tomaž,
We noticed that you’re using our Edu-Press theme. We offer a sample login widget called Login | Register Form, fully compatible with the theme and available in Elementor. Once you create this custom login page, you can add the following code to the functions.php file in your child theme. This code will automatically redirect users to the custom login page when they try to access the WordPress login page (by entering “login” or “wp-admin” in the address bar):
add_action('init', 'custom_login');
function custom_login(){
global $pagenow;
if ('wp-login.php' == $pagenow) {
wp_redirect(get_permalink(get_option('thim_login_page')));
exit();
}
}
Please let us know if you need further assistance!
Best regards,
Brianvu-tp