NooTheme Premium WordPress Theme › Forums › JobMonster › Apply button and Contact consultant button
Tagged: #button #consultant #contact
- This topic has 4 replies, 2 voices, and was last updated 1 day, 9 hours ago by Jackie.
-
AuthorPosts
-
3 weeks, 2 days ago #1221204
Hello, in order to keep the barriers for the applicant as low as possible, we would like to give the applicant the opportunity to contact our consultant in advance.
Can I somehow put a button next to the Apply button that leads to the corresponding consultant or to a separate page with a contact form?
We would prefer the former, if possible? This should not disappear with the next update for JobMonster...
Many thanks for your help!
Attachments:
You must be logged in to view attached files.1 week, 5 days ago #1221213Hi.
Thank you for contacting us.
If you want to have the contact button for all the job details page, you can edit the source code on this file:
wp-content/themes/noo-jobmonster/layouts/job/single/detail.php line 91
wp-content/themes/noo-jobmonster/layouts/job/single/detail-style-2.php line 270
wp-content/themes/noo-jobmonster/layouts/job/single/detail-style-3.php line 173
wp-content/themes/noo-jobmonster/layouts/job/single/detail-style-4.php line 171
under the endif code, you can add the custom code below for the button.
<a class="btn btn-primary" href="#yourlink" rel="nofollow noopener" target="_blank"><?php echo esc_html_e('Contact Us') ?></a>
Please recheck it.
Regards.
1 week, 5 days ago #1221215Hello Jackie,
thank you very much, I will try that!
I'll let you know again as soon as I've put it in.Have a wonderful day!
1 week, 5 days ago #1221217Hello Jackie,
that works great, can I put a mailto link there that is linked to a separate custom field?Sorry, I'm not that good at programming yet.
1 day, 9 hours ago #1221235Hi.
I think you can create a custom field Email for each job like this: https://prnt.sc/TBhLRj8gP6Sl
Then you can use that field for the new button as you want.
To create that field, you need to edit the source code in this file: /wp-content/themes/noo-jobmonster/framework/job/admin-job-edit.php underline 83 add the source code:
array( 'id' => '_email_custom', 'label' => __( 'Custom Email', 'noo' ), 'type' => 'text', 'desc' => __( '', 'noo' ) ),
To get the value of the custom field on the job, you can use the source code below:
$email_custom = noo_get_post_meta( $job_id, '_email_custom', '' );
I hope that can help you.
Regards.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.