Hey,
I also have the same problem as cjackson111, when it comes to hiding categories when theirs no jobs.
Thanks,
Eoin
-
This reply was modified 7 years ago by eoinsr.
Plugin Contributor
jonryan
(@jonryan)
You can certainly modify the search form, but it requires both frontside template and javascript modification, as well as modifying the API code. It’s totally doable but you need to have some coding experience.
As far as hiding categories, I think the issue is that the categories are not part of the api request made with the search, they are generated with the page rendering, so it really has no way of knowing if the search has those categories or not. I realize it’s not idea but it’s how it works right now.
Hey @jonryan ,
I’ve played around with this for a few days now created a solution for Job categories. This is a coded solution and quick and easy you just need to change false to true as pre screen shots:
Find this code this is found in wp-content/plugins/wp-job-manager/templates/job-filters.php
then at the end of the time you will see this line 29.
I hove not currently found out how to do regions/location yet this should be similar seeing as have the same fields, in the job list section
-
This reply was modified 7 years ago by eoinsr.