Plugin Author
Eric
(@emartin24)
It depends on your theme and if you are using widgets or not. Typically it would be in your sidebar.php file.
If you are using the Meta widget, then you will probably have to delete it and put the code in your sidebar.php file. I’ve included examples in the FAQ section – let me know if that does not help 😉
Well I put the code in my site and it automatically takes me to the dashboard which i do not want I just want the user to stay on the same page.
I had a link that said login yes
I don’t understand the old 0.3 never had this problem with my site. it’s weird.
Plugin Author
Eric
(@emartin24)
I wanted to have a link to your site, to view the issue.
1.0 changed the way redirects were handled, so there may still be some issues to iron out.
Plugin Author
Eric
(@emartin24)
Your login link is not correct.
Change it from:
<a wp-login.php="" redirect_to="/"" class="simplemodal-login" ...
To:
<a href="wp-login.php?redirect_to=/" class="simplemodal-login" ...
Alright well I changed the code to
href="wp-login.php?redirect_to=<?php echo $_SERVER['REQUEST_URI']; ?>" class="simplemodal-login"
And now it works thanks.