Adding Location to Advanced Search for Jobs

Hi!

I've added a Location field to the Jobs using the plugin from this support thread:

https://premium.wpmudev.org/forums/topic/search-should-return-location-results-jobs-experts#post-823032

So now the location displays for the job, which is awesome. :slight_smile:

I'd like to be able to include the location as part of the Advanced Search Form, so that people could search jobs by location. Any help or guidance in achieving this would be greatly appreciated. :slight_smile:

Thanks so much for all of your help and support! :slight_smile:

Warm regards,
Julie

  • Vinod Dalvi

    Hi Julie,

    I hope you are well today and thank you for your question.

    The jobs advanced search form is rendered using the form_template function hooked as following

    add_action('wp_footer', array(&$this, 'form_template'));

    And the search functionality of this form is handled in the function addition_search_params hooked as following

    add_filter('jbp_job_search_params', array(&$this, 'addition_search_params'));

    Both of these hooks are added in the following file of Jobs & Experts plugin so you can just see that code and modify it to include jobs location field.

    /jobs-plus/app/addons/je-advanced-search.php

    If you are not a programmer then you can consider hiring a developer from https://premium.wpmudev.org/wpmu-custom-development/ to develop it for you.

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.