Schedule a Free Consultation

Radius-based Job Search plugin

Read Article

Employers need a radius-based filter to view applications whose location ZIP Code falls within a radius from main office.

An increasing number of sites offer job postings to attract companies and job seekers. Several plugins help developers address this goal, with WP Job Manager with an apparent leading popularity. A reason for its status as the “go to” job management solution is the ability to add custom functionality, and developers see the benefits immediately.

Radius-based application filtering

Employers connect to their account and review applications to posted positions. Several filters will narrow down the list based on familiar criteria. For example, employers wish to view only applicants whose resume includes experience with several programming languages. The user interface will list available programming languages. From this list, the employers checks the programming languages included in applicant resume.

Should the employer wish to see applicants whose address is in a ZIP code, the approach should be the same. A potential reason employers wish to consider applicants from a list of ZIP codes is the distance to the office as it effects the commute time and potential additional work expenses. The traditional filter with list of values is of limited help because it requires employers to estimate the distance between company main office and applicant’s location.

The plugin we created allows employers to specify the distance from main office and retrieve only applicants whose location is within that distance. To calculate the distance, we linked WP Job Manager with GEO Mashup plugin – a popular plugin geocoding WordPress posts. Both locations (main office and applicant) are subjected to geocoding to maintain the latitude and longitude. GEO Mashup computes the distance between two locations, so the plugin uses the location of the main office and applicants to compute the distance. Our plugin checks whether the calculated distance is within the radius the employer requires.

User Interface element

To offer the radius-based filter, the interface uses a simple text box where employers type the target distance. When applications are filtered, the radius filter compares the computed distance between the main office and applicant’s location against the target distance. Only those applicants whose location is within the target distance are listed.

Extended benefits

The plugin not only meets the intended goal, but it does so using reputable plugins as foundation blocks. The extended benefits stemming from this plugin include:

  • GEO Mashup and WP Job Manager are free, reliable, and well maintained – future updates will likely increase current individual value.
  • WP Job Manager has caught the attention of Automattic, the “parent” company of WordPress – it is interesting to see how the plugin will evolve given Automattic’s magic touch and determined support to all its products.

Conclusions

Radius-based Job Search enhances the functionality of the popular WP Job Manager plugin, creating a more flexible search and filtering mechanism for employers:

  • The Radius-based Job Search plugin serves job posting sites, allowing employers to filter applicants within a radius from main office.
  • WP Job Manager and GEO Mashup work together to determine the longitude and latitude of locations and determine the distance between locations.
  • Employers specify the target distance to applicant location in a text field included in the user interface.

Here’s the code if you want to reuse it for yourself:

Navigate to

Check some other articles we wrote

How To Choose a WordPress Management Agency
Building a successful online business on WordPress takes effort, time, focus, and flexibility. But if you take your business seriously, I recommend a WordPress management agency that will take care of your website while you focus your efforts on growing the business. WordPress Management Agencies take care of maintenance, backups, cybersecurity, changes, and updates of […]
WordPress Maintenance, Support, Consultancy, Development or Management? [How to choose the one you need]
WordPress started as a blogging platform and seamlessly transitioned to an excellent CMS. According to W3Techs, it powers 43% of all online websites globally. Nowadays, most of the business owners with an online presence on WordPress look for a care service for their website. But an online search will reveal one of the following services: Maintenance, […]
Practical Gruntfile to automate project related tasks
Productivity! Oh, yes! The ever-elusive goal of a software developer. No matter how much one tries, trivial tasks will aGrunt is a popular tool that assists developers to automate code management actions, but practical applications of this tool are still elusive. In this article, we share our take on using Grunt to process CSS and […]