• Resolved gn0rt0n

    (@gn0rt0n)


    In our job listings on the list view page locations are listed in a flattened format where it lists things alphabetical, regardless of hierarchy level.

    We have our locations setup on a State->City relationship. The dropdown filter shows the proper parent-child relationship, but the view of the jobs doesn’t preserve this relationship. So this leads to a display like:
    Anaheim, California, Sacramento,….

    In this case both Anaheim and Sacramento (cities) are separated by the California (state). Leading to three entries in the list. We only want two.

    How could we change the template to list the cities coupled with their states such as:
    Daytona Beach, Florida
    Melbourne, Florida
    Ormond Beach, Florida
    Sebastian, Florida
    Titusville, Florida

    Right now all we get is a flattened list and we would like to retain the hierarchy for display purposes.

Viewing 1 replies (of 1 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hello @gn0rt0n,

    For this, you need to do customizations on your Job Board. You can customize location hierarchy for display purposes from the following template by using SJB templating feature:
    simple-job-board/templates/listing/list-view/location.php
    simple-job-board/templates/listing/grid-view/location.php
    simple-job-board/templates/single-jobpost/job-meta/job-location.php

    Please visit the plugin page and see the CONFIGURATIONS & TEMPLATING section.

    Thank you for reaching us. Let us know if you need our further assistance.

Viewing 1 replies (of 1 total)

The topic ‘Display Location Hierarchy’ is closed to new replies.