Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-19T01:17:25-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14311 2011-08-19T01:17:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14311&p=32381#p32381 <![CDATA[Re: Login then redirected to previous page]]>
You could edit the login links in the theme's templates. This may help: https://codex.wordpress.org/Function_Re ... _login_url

Code:
<a href="<?php echo wp_login_url(get_permalink()); ?>">Login</a>

Statistics: Posted by Cristián Lávaque — August 19th, 2011, 1:17 am


]]>
2011-08-18T17:41:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14311&p=32322#p32322 <![CDATA[Re: Login then redirected to previous page]]>
http://www.intelligent-investment.co.uk

so what Im after is say you go to the 'about' page, then hit login from any of the links on that page in the header or in the footer, then your taken to the login page, once you login then your redirrected back to the about page .. this seems to add a login widget to the about page, not what I am after at all, does that make sense, is it possible?

N

Statistics: Posted by hazardous_waster — August 18th, 2011, 5:41 pm


]]>
2011-08-18T15:13:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14311&p=32307#p32307 <![CDATA[Re: Login then redirected to previous page]]> WP Admin -> Appearance -> Widgets -> s2Member Pro Login Widget -> Redirection After Login -> Previous Page

:)

Statistics: Posted by Cristián Lávaque — August 18th, 2011, 3:13 pm


]]>
2011-08-18T12:51:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14311&p=32282#p32282 <![CDATA[Re: Login then redirected to previous page]]>
N

Statistics: Posted by hazardous_waster — August 18th, 2011, 12:51 pm


]]>
2011-08-02T23:17:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14311&p=29715#p29715 <![CDATA[Re: Login then redirected to previous page]]>
You can use the s2Member Pro Login Widget if you have it, it's got a setting that will let you take the person back to the page he's logging in from.

Statistics: Posted by Cristián Lávaque — August 2nd, 2011, 11:17 pm


]]>
2011-08-02T07:45:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14311&p=29636#p29636 <![CDATA[Login then redirected to previous page]]>
You've helped me no end a few times before so thank you all for that but I've got another question, here's hoping you can help me again.

Here's my little project if you want to take a look ... http://intelligent-investment.notknowndesigns.co.uk/

Should be a fairly simple request but I can't find any one talking about it or any information on the forums so here I am, Once you login to the site my client wants to redirect the user to the page they where just on, so for example if I click on the 'about' page, then click the login button near the bottom of the page, I want to be taken to the login page, fill in my details (try username - test, password - test if you wanna give it a go) his the enter button and then be taken back to the 'about' page and NOT the 'welcome cheers for loging in' page.

Any ideas?

Cheers in advance, Neil.

Statistics: Posted by hazardous_waster — August 2nd, 2011, 7:45 am


]]>