Your cart is currently empty!
After Completing Affiliate Registration page. How to change the default message?
—
by
I registered as an affiliate and after I am done it shows this message:
If you are not an affiliate, you can join the affiliate program here:
Thanks for signing up!
Please check your email for the confirmation link.
Log in here.
How do I change the code where that log in page takes them? Right now it takes them to the WP login. I already installed the
Peter’s Login Redirect plugin and it is working for all other log in/out instances.
Please help!
Posted in Affiliates Pro
Comments
6 responses to “After Completing Affiliate Registration page. How to change the default message?”
That’s great!
fixed it. thanks.
well I tried and now I am getting this error:
Parse error: syntax error, unexpected end of file in /home/npl/acceleratingyoungminds.com/wp-content/themes/bridge-child/functions.php on line 33
HELP
The Login in part is the only part that cannot be modified.
All you have to do is copy my snippet and paste it in your functions.php file. This file is located in your Dashboard under Appearance > Editor. On the right column there are files listed, you should click on the functions.php file. At the end of it you can paste the snippet.
If though you still can’t do it yourself, just provide me with the messages you want to display for Thanks for signing up! and for Please check your email for the confirmation link. and your login page link. I will prepare a simple plugin for you to use in your installation.
Cheers,
George
This is a bit beyond my skill, is there a way just to delete the part that says Log in? I looked at the post/page and it does not show there.
Hi Carolyn,
There are three filters you can hook to and change these messages:
add_filter( 'affiliates_thanks_sign_up_text', 'gt_affiliates_signup_text' );
function gt_affiliates_signup_text( $thanks_message ) {
return 'Well done!';
}
add_filter( 'affiliates_check_confirmation_text', 'gt_affiliates_check_confirmation_text' );
function gt_affiliates_check_confirmation_text( $confirmation_text ) {
return 'Check your email';
}
add_filter( 'affiliates_registration_login_redirect_url', 'gt_affiliates_registration_login_redirect_url' );
function gt_affiliates_registration_login_redirect_url( $url ) {
return 'http://url/of_the_page/where_you_prefer_to_redirect';
}
All the messages are quoted after the return word. Try it and modify the message(s) accordingly.
This block should be placed in your functions.php file of your child theme. You should be using a child theme in order to keep the modifications after a theme update.
Kind regards,
George