NooTheme Premium WordPress Theme › Forums › JobMonster › Add apply now option after every job
- This topic has 23 replies, 2 voices, and was last updated 4 years, 4 months ago by abhishek.embsys.
-
AuthorPosts
-
4 years, 6 months ago #1160672
Hi
I need to have Apply Now/Easy Apply button after every job.Idea is when a new candidate finds a job which he is interested,he should know where to click to apply for that job.
In case candidate iS not registered on portal,he should be directed to login page from where he can login or can be directed for registration. If user is already loged in into portal, he should be able to directly apply to given job.
I hope I am clear enough.
4 years, 6 months ago #1164582But on Single Job page on have notice 'Only candidates can apply for this job and Login as Candidate button' to login if user (not login ) will login or register account to apply job, what is position you want add button after every job ?
Best regards.
4 years, 6 months ago #1164595I understand your point.
Actually what is happening on ground, candidates get individual job link from some source, Now when they open the link, and try to apply, at first, they dont know where to click. When they find "Login as candidate option", they click that button.
AT this time, theme login and registration form opens. Many of the users see this job on my portal for first time so they go for registration. At this this they access theme registration form (Not from User Registration plugin!).
Once they get themselves registered, theme does not direct them back to the job which they wanted to apply on portal and they feel lost.
To help such candidates, if on single job page, I have Apply Now/Easy Apply button, it would guide candidadtes that exactly where to click to apply for this job. If they are not registered already, they get registration form to register or login form...and once they complete ligin process, page should redirect them back to the same job they wish to apply.
I hope it is clear now
4 years, 6 months ago #1169273Any solution for this?
4 years, 6 months ago #1169288Now you can add more button in Single Job page if custom not login or you want custom link of 'Don't have an account yet? Register Now' to allow custom use register form with User registion plugin on your site ?
Best regards.
4 years, 5 months ago #1204174Here, after candidate login, he is directed to profile page and he could not find the job he was interested in.
Instead, when candidate log in on single job page to apply for that job, he should be able to apply immediately.
Dont redirect him to profile page at this point. That's irrelevant and misleading
Please fix it soon
4 years, 5 months ago #1204247Dear, if you want redirect candidate login to Job Archive page, please install and switch your site to use Jobmonster child theme then add custom code in file functions.php of child theme
add_filter( 'login_redirect', function($redirecturl, $user_signon){ if (Noo_Member::is_candidate($user_signon->ID)){ $redirecturl = get_post_type_archive_link('noo_job'); } return $redirecturl; },10,2);
Best regards.
4 years, 5 months ago #1204265There r 2 different situations:
1. when candidates log in normally , he should be directed to home page
2. When candidate finds a job link from some source and to apply for that job he have to log in/register in portal. In that case once he log in, he should be able to automatically apply to respective job or atleast he should be redirected to same job page he was interested to apply so that he can apply immediately. In this situation, he should not be redirected to home/profile page which will distract candidate from specific job and mislead him.
Hope you would be clear on requirements now!
4 years, 5 months ago #1204304Dear. If you want do it, Please install and switch your site to use Jobonster child theme, then add custom code in file functions.php of child theme.
add_filter('noo_login_redirect', function($redirecturl, $user){ if(Noo_Member::is_candidate($user->ID)){ if(is_singular('noo_job')){ $redirecturl = get_the_permalink(); }else{ $redirecturl = home_url('/'); } } return $redirecturl; },10,2);
Best regards.
4 years, 5 months ago #1204327code constricts entire page into mobile view.
Please check code
4 years, 5 months ago #1204340Sorry, please use this custom code
add_filter('login_redirect', function( $redirecturl, $user){ if(Noo_Member::is_candidate($user->ID)){ if(is_singular('noo_job')){ $redirecturl = get_the_permalink(); }else{ $redirecturl = home_url('/'); } } return $redirecturl; },10,2);
Best regards.
4 years, 5 months ago #1204350Hi
It does not solve the purpose!
When candidate clicks on job link, he is asked to login. When he log in, he is directed to home page and not on that particular job page he was interested!
please check again.
4 years, 5 months ago #1204366Dear, i check code again, i see a problem in custom code, Please change custom code to:
add_filter('login_redirect', function( $redirecturl, $user){ if(Noo_Member::is_candidate($user->ID)){ if(isset($_POST['is_singular_job'])){ $redirecturl = get_the_permalink($_POST['is_singular_job']); }else{ $redirecturl = home_url('/'); } } return $redirecturl; },10,2); add_action('noo_login_form_end', function(){ if(is_singular('noo_job')){ echo '<input type="hidden" name="is_singular_job" value="'.get_the_ID().'">'; } });
You can see custom code in attachment, after change custom code please check your site again.
Best regards.
Attachments:
You must be logged in to view attached files.4 years, 5 months ago #1204370Its working now!
Thanks a lot.
4 years, 4 months ago #1205205Hi
How to rename "Login as Candidate" button to "Apply Now" on single job page. Just need to rename, the functionality should remain same. It would help me to direct job seekers where to click to apply for that job.
Also "Remember me" is not working to save an updated password. Please check
Attachments:
You must be logged in to view attached files.4 years, 4 months ago #1205248Dear, You can use Loco plugin to change 'Login as Candidate' via translate theme.
Also, We're will fix 'Remember me' problem in next update version.
Best regards.
4 years, 4 months ago #1205334I have installed the plugin but don't know how to proceed. Can you please help!
4 years, 4 months ago #1205369Dear, please read Loco Beginner's guide to use Loco plugin to translate Jobmonster theme.
Best regards.
4 years, 4 months ago #1205370Can't it be done directly at the code level in the child theme without using any plugin?
That way my website would be slow by adding another plugin and just to modify 1 name does not make much sense.
If, It is not too complex to modify at the code level, can you please do it for me directly?
Thanks
4 years, 4 months ago #1205400Dear, if you want change it with custom code, please add custom code to file functions.php of your theme
add_filter('jm_cannot_apply_job_message', function($params,$job_id){ $apply_job_setting = jm_get_action_control('apply_job'); if($apply_job_setting === 'candidate'){ if( !Noo_Member::is_logged_in() ) { $link = Noo_Member::get_login_url(); $params['link'] = '<a href="' . esc_url( $link ) . '" class="btn btn-primary member-login-link">' . __( 'Apply Now', 'noo' ) . '</a>'; } } return $params; },10,2);
Best regards.
4 years, 4 months ago #1205407Nothing changes!
Still shows "login as Candidate"
4 years, 4 months ago #1205408Just reframing the objective
When any candidate visits any job link, he should get "Apply now" option instead of "Login as Candidate" option. When he is clicked "Apply Now", he should be redirected to Login/Register page as set already!
Only Rename" Login as candidate" option on job page to "Apply Now".
4 years, 4 months ago #1205413I not see you add custom code in file functions.php on your theme ?
4 years, 4 months ago #1205420I had added code and did not witness any change so removed.
Seems like I had to clean cache.Now it's working!
Thanks
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.