Order by location

  • John
    Newbie 0 points
    March 11, 2015 at 6:07 pm

    I need my ‘advanced search’ results to show in order of closeness to the search location.
    I’m guessing that there’s something I can put in the ‘custom orderby options’, but can’t workout what.

    As my directory is showing people which business is the closest to them, it renders the theme not fit for purpose unless i can figure this out.

  • Alex Morgan
    Alex Morgan
    Super Guru 1,111 points
    March 13, 2015 at 9:33 am

    Hi John,

    This will need some modification as by default you can only use the meta keys: map_country,map_state,map_city,map_zip and for that you have to add the function same as the advanced search for the radius search for distance of location.

    This reply was awarded the best answer by the topic poster.
  • Emily
    Newbie 60 points
    May 26, 2015 at 4:29 am

    did you ever get this issue resolved? I had a plugin made to address this

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes