• I like you plugin

    I would like to sort, i checked your code, i had ai try for 5 days to customize it

    the page with shortcode [jobs] i want it to sort by location (or alternative by the job title ) but location is priority please help me achieve this so if i have Germany – Berlin and Austria – Linz or France – Paris the order you know would be Austria France Germany and the stuff after in the sort

    I really appreciate your help with this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @rtdev

    order by title works this way via shortcode:
    [jobs orderby=”title”]

    As far as I know there is currently no way to order by location

    Thread Starter rtdev

    (@rtdev)

    Thanks @braehler I hope a developer contacts us how to do it . but orderby title also does not work on our platform

    @rtdev

    Sorting listings based on their location is not a built-in option. You would need custom code to achieve this.

    It might also be worth checking out the Search & Filtering for WPJM plugin. I am not completely sure if it supports sorting by location alphabetically.

    Thread Starter rtdev

    (@rtdev)

    then even you have a bug becasue this does not sort by title [jobs orderby=”title”]

    it sorts by the date of the post the most recent at the top . AI says this is the problem:

    The Problem
    The [jobs] shortcode passes orderby directly to get_job_listings(), which passes it to WP_Query. However, the plugin overrides orderby silently in two situations:

    If orderby is featured or rand_featured — it replaces the whole orderby array
    More importantly: if featured_first is truthy, it wraps your orderby inside another array, potentially stomping it

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.