This topic has 28 replies, 3 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler
Hi mate
i finding the solution how to auto re-direct after customer make a registration.
could you please help?
Thanks.
Hi,
Add this in your functions.php file,
function wpse_19692_registration_redirect() {
return home_url( '/my-page' );
}
add_filter( 'registration_redirect', 'wpse_19692_registration_redirect' );
More info: https://codex.wordpress.org/Plugin_API/Filter_Reference/registration_redirect
Let us know,
Thanks,
laranz.,
Doesn’t working…
Hi,
What happen if you use the example provided in the codex? https://codex.wordpress.org/Plugin_API/Filter_Reference/registration_redirect
Let us know,
Thanks,
laranz.,
hi nothing doesn’t happen. Just appeared the green box same original.
Thanks.
Hello,
Please try this way:
1. Find block of code
// **********************************************************************//
// ! Registration Form
//
**********************************************************************//
in file framework/theme-functions.php
2. Add window.location.href='';
after red line https://prnt.sc/g873fu
We recommend you to make changes in a child theme.
Regards
Nothing happen..See in private content..
Thanks
Please provide FTP access in Private Content.
Regards
yep.
See in private.
Hello,
We did nothing on your site.I am checking your topic only now.
So please confirm that I can connect to your FTP to check the code.
Regards
Same as i sent you.
Confirmed,
Thanks.
Please provide me a path to folder with the theme.
Regards
ok. please see in private.
I do not see previous code into your file.
Please try to add this code:
window.location.href='https://www.8theme.com/topic/how-to-auto-redirect-after-register/#post-170100';
as shown on screenshot http://prntscr.com/g8q4k9
Clear cache and check.
Regards
im removed. because after insert your code its appeared another scroll bar.
Please try the last variant of code. Let me know the result.
Regards
come on. i tried.
it’s doesn’t work. nothing happened told u already.
just appeared only the green mark symbol. that’s it.
I’ve added code and now redirect works fine, simply change url.
Regards
Thanks Ros. Appreciated.
Now i found extra scroll bar on chrome but firefox are fine.
You must be logged in to reply to this topic.Log in/Sign up