Forum Replies Created
-
AuthorPosts
-
You're right, I don't have the WooCommerce plugin installed. (Not necessary for my website.)
I'll wait for the update! Thanks!This reply has been marked as private.Thanks for the update! An even better solution!
I've found a solution.
The Job Location (multi_location) is not added to the Job Filter Widget by default. So this option is unfortunately not available by default.
Now I've modified the jobica core plugin, to make this work. I've modified the following file:
\wp-content\plugins\jobica-core\framework\libs\custom-fields\custom-fields.phpOn line number 51 there is the following function: jbc_filterable_custom_fields()
I've added the 'multi_location' to the available options listed there, and this all seems to work. The resulting code is:
if(!function_exists('jbc_filterable_custom_fields')):
function jbc_filterable_custom_fields(){
$types = array(
'select',
'multiple_select',
'single_tax_location',
'multi_tax_location',
'radio',
'checkbox',
'price_range',
'multi_location' /* ADDED */
);
return $types ;
}
endif;It would be great is this modification can be implemented in the next update, so my changes don't get overwritten and they're available for everyone.
Attachments:
You must be logged in to view attached files.Hi, the 'enter an exact address' does work. But this is what I do not wish to use.
I want users to be able to select a location by clicking a 'Job Location' I specified. I want to display a pulldown with options. (Similar to selecting a Job Category.)
And since this is how it works on the homepage with the elementor 'Noo Advanced Search' widget, I think it should work similar on the job listings page (the results page).
From a user perspective it's strange if the search forms work differently...
Thanks!
Hi. Thanks for your reply.
The custom field 'job_location' is set to Multi location. But the Job Filter Widget shows the 'Custom field: by distance' option and not the 'Job Location' option. See attachments.
(I want users to be able to click/filter on a list of Job Locations I specified manually.)
Attachments:
You must be logged in to view attached files.Thanks. It seems resolved in the latest update.
-
AuthorPosts