[Plugin: SimpleModal Login] Login link in WP menu, how to redirect to current page?
-
I have added a login link to my WP menu (Community > Parent Login) and everything works well. But I think most people using the site would be confused when they are redirected to the WP backend on login.
I see elsewhere on the forums this code to add to my functions file to display the login link
<?php wp_loginout($_SERVER[‘REQUEST_URI’]); ?>
…but how do I keep the login link in the menus, but allow them to stay on the current page? I don’t know of a way to drop that php code into the menu…
https://perceptionshost.com/cvms
https://www.ads-software.com/extend/plugins/simplemodal-login/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: SimpleModal Login] Login link in WP menu, how to redirect to current page?’ is closed to new replies.