Simple Membership Plugin › Forums › Simple Membership Plugin › Blank registration page after new user hits submit/register
- This topic has 6 replies, 3 voices, and was last updated 8 years, 1 month ago by
mbrsolution.
-
AuthorPosts
-
June 20, 2017 at 2:28 pm #11260
Chando6000
Participanthi
i have created a free course with learndash and want to use the simple membership plugin to register new users to the course but i noticed that when a user hits submit or register on the simple membership registration form they get redirected to a blank registration page and not a page that tells them to check there email and log in.
June 20, 2017 at 9:58 pm #11265mbrsolution
ModeratorHi, please read the following documentation. Let me know if this helps you.
Kind regards
June 21, 2017 at 9:41 am #11270Chando6000
Participanthi there.
unfortunately the documentation did not help with solving my issue. the registration page works perfectly fine it sends a email to the newly registered free member to tell them that registration is complete but straight after they hit the register button they get redirected to a blank registration page with exactly the same link.
i would like the new member to be redirected to a page that tells them that they must now log in.
June 21, 2017 at 11:23 am #11271mbrsolution
ModeratorHi, you can add the following function to your theme functions.php file.
add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection'); function sam_after_registration_redirection() { $url = 'http://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to wp_redirect($url); }If you don’t like to add the code above you can also use the Form Builder addon.
June 22, 2017 at 9:34 am #11284Chando6000
Participanthi
after looking at your previous reply i thought to myself why not change the theme as the one i was using did not have that code in the functions file. so i went to change the theme and it worked 100%.
thank you very much for the support.
October 25, 2018 at 1:50 pm #16716am3000
ParticipantHey, I´m having the same problem.
Tried with twentysixteen and twentyfifteen themes.
I get back to the Registration page but no message is shown, just the blank page.This should not be the default behaviour, should it?
October 25, 2018 at 8:50 pm #16717mbrsolution
Moderator -
AuthorPosts
- You must be logged in to reply to this topic.