Forums Forums Search & Filter Pro Sorting post results in sf_edit_query_args

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Trevor
    #227815

    Not to do a complex sort like that, no, because in the code you show, you are creating a very unique sort index.

    In a way, what you really need is some form of custom field already attached to the posts that has the correct sort order, but that is not possible, I presume?

    Anonymous
    #227909

    Hi Trevor and thanks for the reply, unfortunately not as the radius changes every time the user searches so cant be stored on a per post basis 🙁

    Looks like I may have to code a custom search instead.

    Is post__in completely out of the picture or is there a way to override this?

    Thanks

    Trevor
    #227917

    Sadly, you can’t use that, no.

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