Ordering the Listing by Custom Field

This topic contains 2 replies, has 3 voices, and was last updated by  Paolo 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #188428

    Chris Gilchrist
    Expired Member

    Hi.

    Is there a way to order the search by a custom field.
    I want the order to go first by Is Featured, then by a numeric custom field. highest value to lowest value?

    Thanks,
    Ric

    #188588

    Kor
    Moderator
    Post count: 16516

    Hi Chris,

    Thanks for reaching us. You’ll need to use this Addon to achieve that https://wpgeodirectory.com/downloads/advanced-search-filters/ . Check out the docs for more info https://wpgeodirectory.com/docs/category/addons/search-filters/ . Let us know how it goes.

    Thanks!

    #188639

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    if you sort by featured, you cannot add a second sort by numeric value. The second sort will be by newest by default (there is no option to change that). Instead you should make sure they sort only by numeric value and that featured listings have the correct numeric value to appear on top.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket