Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi please check the following documentation. Let me know if this is what you are after.

    Thank you

    Thread Starter normski

    (@normski)

    Thank you but that’s not quite what I am looking for.

    I have set memberships to ‘pending’. And I would like new pending members to be directed to a custom page before their membership has been activated and before they are able to login.

    Plugin Support mbrsolution

    (@mbrsolution)

    Okay let me see if I understand what you are trying to achieve. You want to redirect someone to a page after they register, is that correct?

    Thread Starter normski

    (@normski)

    Yes, that’s correct.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for confirming. The following solution was provided by one of the developers.

    Solution: You can add the following fuction to your theme function.php file.

    add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
    function sam_after_registration_redirection()
    {
    $url = 'https://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }
    Thread Starter normski

    (@normski)

    Thank you very much.

    Thread Starter normski

    (@normski)

    One further question – should I add the function to the child theme function or the parent theme function (genesis)?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, it is better to add the function to your child theme if you have one. Or else you will loose the function when you update the theme.

    Can you mark this support thread as resolved if you don’t have any more questions to ask.

    Thank you

    Thread Starter normski

    (@normski)

    Thank you.

    Thread Starter normski

    (@normski)

    Hi again. I am afraid that did not work.

    Plugin Support mbrsolution

    (@mbrsolution)

    Did you add the function in your child theme? What happened when you did?

    Thread Starter normski

    (@normski)

    Hi. It is now working. I made a stupid error in pasting the code. Sorry for the hassle and thank you again for all your help.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Custom page on registration’ is closed to new replies.