• Hi Support,

    I am using a Job Region multi-select (pulldown) on the jobs search page, that contains parent and child regions.

    Example:

    Los Angeles (parent)
    – Burbank (child)
    – Hollywood (child)
    – Westwood (child)

    The regions on the job search page are not displaying in alphabetical order, so when I add a new parent region it appears at the bottom of the list, and a new child region at the bottom of the list under the original parent – instead of alphabetically. This issue seems confined to just the Job Search page. The Job Regions on the backend Dashboard and on the Post a Job pages remain in alphabetical order despite the order of entry.

    Does anyone have a solution to fixing this?

    Thank you,

    https://www.ads-software.com/plugins/wp-job-manager-locations/

Viewing 1 replies (of 1 total)
  • Thread Starter athrive

    (@athrive)

    Fixed some time ago and posting here for anyone else to use. Requires a slight hack of the plugin.

    Modify the file: wp-content/plugins/wp-job-manager-locations/includes/class-template.php

    In this section: wp_dropdown_categories( apply_filters

    For alphabetical order of regions in a pull down, change to ‘orderby’ => ‘name’,

    And if you want to only display regions with jobs in them, in the same section of code, change to ‘hide_empty’ => 1,

Viewing 1 replies (of 1 total)
  • The topic ‘Regions Alphabetical Order in Pulldown’ is closed to new replies.