Hi Scott, appreciate your quick response, I tried that first, but I found it to only be half an answer, and not very well explained by the user (I also tried to contact him directly before posting here).
So I wanted to ask again if there was an easy way to do this
Thanks
This will do both front and backend:
add_filter( 'job_manager_job_listing_data_fields', 'custom_resume_manager_resume_fields' );
function custom_resume_manager_resume_fields( $fields ) {
unset( $fields['_job_location'] );
return $fields;
}
add_filter( 'submit_job_form_fields', 'custom_hide_resume_form_fields' );
function custom_hide_resume_form_fields( $fields ) {
unset( $fields['job']['job_location'] );
return $fields;
}
Try adding that to your theme’s functions.php template file.
Cheers,
Scott
Ah awesome, thanks Scott, that worked perfectly.
However I added a new job, and as the location wasn’t set, it just defaults to “Anywhere” when displaying the jobs using [jobs] shortcode – screenshot http://take.ms/OGwlF
Is there a way to edit the location information from the job list display too?
Many thanks
You could either change the template file that outputs that data, or hide it with CSS. Both would work in your case. Anywhere = blank location field.
Thanks Mike
Would you be able to tell me which template file controls the output of the [jobs] shortcode?
For anyone else – the file content-job_listing.php controls the output listing of [jobs]