Post-Registration redirect
Posted:
August 4th, 2011, 1:43 am
by TheKai
Is there a simple way to redirect a user to a "Thanks for registering, please check your email , blah blah" page?
Or, failing that, maybe just a simple popup message that says the same thing?
Thanks in advance.
Re: Post-Registration redirect
Posted:
August 4th, 2011, 11:38 pm
by Cristián Lávaque
You can use this hack to log the person in automatically right after registration.
viewtopic.php?f=4&t=14211&p=29101#p29101
Re: Post-Registration redirect
Posted:
August 5th, 2011, 12:25 am
by TheKai
Thanks for the tip. I did the following (more light weight, i think).
Just add this to functions.php
- Code: Select all
function __my_registration_redirect()
{
return home_url( '/pageName' );
}
add_filter( 'registration_redirect', '__my_registration_redirect' );
Re: Post-Registration redirect
Posted:
August 5th, 2011, 1:27 am
by Cristián Lávaque
Cool. I haven't tried that yet, did it work for you?
Re: Post-Registration redirect
Posted:
August 5th, 2011, 1:33 am
by TheKai
Yep. Works perfectly on my setup.