This topic has 1 reply, 1 voice, and was last updated 7 years by ThrewTheNevR.

  • Author
  • #157785
     ThrewTheNevR
    Participant

    What I’m trying to do is after a user clicks his email activation link to have them redirect to a custom welcome page.

     

    I created a new file bp-custom.php and placed it in wp-contant>plugins directory

    I then used this code. It don’t work any suggestions?

     

    add_action( ‘bp_complete_signup’, ‘kleo_redirect_after_signup’ );
    function kleo_redirect_after_signup() {
        
        $page = ‘welcome’;//your page slug
        
        bp_core_redirect( site_url( $page ) );
    }
    #157811
     ThrewTheNevR
    Participant

    Mk I found a way, for anyone who is wondering.

    public_html/wp-content/themes/kleo/buddypress/members you will see activate.php, open it in coden editor and past below code at the bottom before the <!– #buddypress –>

    <meta http-equiv=”refresh” content=”3;url=https://yoursite.com/url to page u want/” />

    <!– #buddypress –>

Viewing 2 posts - 1 through 2 (of 2 total)

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

Log in with your credentials

Forgot your details?