NooTheme Premium WordPress Theme › Forums › JobMonster › Possible to set distance value over 100 kilometers in distance filter?
Tagged: distance, location-filter, radius
- This topic has 5 replies, 2 voices, and was last updated 3 years, 5 months ago by dangdv.
-
AuthorPosts
-
3 years, 6 months ago #1207874
Hi,
i need to increase the distance filter for distances over 100 kilometers.
As default the filter is adjustable to 1-100 kilometers.
I need more than 100 kilometers because my customers are willing to drive much more than 100 kilometers, partially there are jobs for freelancers or online jobs on my platform.How can I adjust distance up to 500 kilometers in distance search widget?
Greetings, Gunther
3 years, 6 months ago #1207880Dear.
If you want change to distance to 50km, please update Jobmonster theme on your site to latest version 4.6.6.1Then install and switch your site to use Jobmonster Child Theme, then add custom code in file functions.php of Jobmonster Child Theme.
add_filter('noo_distance_slider_max_value', function(){ return 500; });
Best regards.
3 years, 5 months ago #1207948Dear support,
how can I update to 4.6.6.1 ?
In my WordPress backend themes section will not show update button.Kind regards, Gunther
3 years, 5 months ago #1207974Dear, Please go to admin menu 'Themes' you will see like attachment, if it not work, please rename or delete Jobmonster theme old version on your site, then download Jobmonster theme form ThemeForest and install on your site again.
Best regards.
Attachments:
You must be logged in to view attached files.3 years, 5 months ago #1208013Dear Support,
works fine now, updated to 4.6.6.1 and increased filter distance to 500 - thanks!
One more issue about the distance filter: would be nice, if possible to have placed the filter-slider for default to 250 kilometers, and then be able to turn it down or up.
Maybe have some snippet for me?
Greetings, Gunther
3 years, 5 months ago #1208031Sorry, In current version Jobmonster not support custom default value of distance slider, We're will add it in next update version.
Best regards.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.