WP login button – how to prevent default action or remove it?
-
The wordpress login button by default opens a pop-up window loading wp-login.php file. It’s not a smart UX solution, so I’m trying to replace it my own login modal.
So I have these two questions:
1. How can I prevent a default action of the login button?
2. How can I remove the button completely from the drop down menu as well as from the login panel with social media icons if my SSO service is activated?
Above questions are being frequently asked and I’ve been looking for the answers for hours, but I found no working solutions so far.
It is an important issue – other way the whole SSO idea is useless because of the bad UX. Also the pop-up window won’t close after login – it only redirects to WP cockpit.
I’ve also tried a preventDefault onclick function on the button, but the plugin is apparently being load from an external source, so my script won’t work.
- The topic ‘WP login button – how to prevent default action or remove it?’ is closed to new replies.