NooTheme Premium WordPress Theme › Forums › JobMonster › Employer redirection after signup
Tagged: redirection
- This topic has 19 replies, 2 voices, and was last updated 5 years ago by
dangdv.
-
AuthorPosts
-
5 years, 1 month ago #1121023
Hey i hope all you are doing good, i want to redirect employer after registration to the resume page please help me on this.
5 years, 1 month ago #1121555hey can you reply on this please ??
5 years, 1 month ago #1122247Dear, if you want do it, please install and switch your site to use Jobmonster child theme then add custom code in file functions.php of Jobmonster chid theme.
add_filter('noo_register_redirect_candidate', function($redirect_to){ $redirect_to = Noo_Member::get_post_resume_url(); return $redirect_to; });
Best regards.
5 years, 1 month ago #1122524Please read my comment again I want to redirect the employer after signup to resumes page .thanks
5 years, 1 month ago #1122526Dear. if you want redirect Employer after register to Resumes archive page, please add custom code on your site
add_filter('noo_register_redirect_employer', function($redirect_to){ $redirect_to = get_post_type_archive_link('noo_resume'); return $redirect_to; })
Best regards.
5 years, 1 month ago #1122764Dear thanks for reply but this code is not working for me i pasted it in functions.php file but its still redirecting me to that page after registration
https://contactmaid.com/member/company-profile/
but i want to redirect the employers to
5 years, 1 month ago #1123256This reply has been marked as private.5 years, 1 month ago #1123272This reply has been marked as private.5 years, 1 month ago #1123281Please kindly send for me your site URL. i will check to help you.
Best regards.
5 years, 1 month ago #1123293i already sent it to you in above messages ,www.contactmaid.com
5 years, 1 month ago #1123554I not see custom code in file functions.php , please check again.
noo_register_redirect_employer
5 years, 1 month ago #1123557man it was not working so i removed that lines of code i believe you can paste that code , i removed because i thought there is a problem in code.
5 years, 1 month ago #1123559please don't behave like a kids man i pasted the code please solve this issue its more than three days we are playing with this.
5 years, 1 month ago #1123563Dear i updated by myself everything no any action required on this.
5 years, 1 month ago #1124884Dear, i have check register Employer on your site, i see it's redirect to 'https://contactmaid.com/resumes/' after register success. Please kindly check your site again.
Best regards.
5 years ago #1174282Hey in reference to your last reply , yesterday we updated our theme and then after that this function is not working anymore kindly look into this issue , for credentials please check above message , thanks
contactmaid.con5 years ago #1174322????
5 years ago #1175186I see it still working, please check your site agian.
best regards.
5 years ago #1175192This reply has been marked as private.5 years ago #1175219That problem because you not add custom code for Employer login, you only add custom code for Employer register,
To change URL after employer login, please add custom code in file functions.php of your theme.
add_filter( 'login_redirect', function($redirecturl, $user_signon){ if(Noo_Member::is_employer($user_signon->ID)){ $redirecturl = get_post_type_archive_link('noo_resume'); } return $redirecturl; },10,2);
best regards,
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.