This topic has 4 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #156853
     ashleyaliff
    Participant

    Hi I’ve been going in circles trying to figure this out. I’m trying to create two different redirects. One after they register and receive the email activation clicking back to the site and another when they login via the popup.

    I’ve been using peter’s login redirect but it only seems to half work, it works for the popup login by participant but it doesn’t work at all for the post registeration. It’s like something is blocking it from working correctly

    This makes it hard to add a thank you page with what my members are supposed to do after activation. Any suggestions on making this easier. thank you!

    #157002
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #157224
     Radu
    Moderator

    Hi,

    Check those : http://wordpress.stackexchange.com/a/98382

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #157241
     ashleyaliff
    Participant

    Okay for sure. If I would like to add this page instead of home url how would I set it up? And It goes in the functions.php file is that in ftp? would I put it at the bottom or top. I don’t want to mess up spacing like I did last time, just to be sure.lol Thank you!

    https://theawakenedstate.net/community-welcome/

    add_filter( ‘registration_redirect’, ‘ckc_registration_redirect’ );
    function ckc_registration_redirect() {
    return home_url();
    }

    #157501
     Radu
    Moderator

    Hi,

    The code will be something like this

    COPY CODE
    
    function wpse_19692_registration_redirect() {
        return home_url( '/community-welcome/' );
    }
    
    add_filter( 'registration_redirect', 'wpse_19692_registration_redirect' );
    
    

    TEst it

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?