GEO Listings, possible to show "nearby" listing?

WordPress Business Themes Forums Child Themes GEO Listings, possible to show "nearby" listing?

GEO Listings, possible to show "nearby" listing?

April 12, 2017
Stephan Stephan
  • Stephan
    Newbie 12 points

    My site is a directory of living communities. All of the communities have addresses, City, ST, Zip.

    Is it possible to show nearby communities if there are no listings currently in the city or zip they’re searching for? Is there a Theme that best fits this?

    2 main scenarios:

    User searches by city or zip, instead of SERP showing 0 results show communities in the next town or within 10 mi, 20 mi, etc

    City Page: user clicks to the page for their desired city, same issue as above.


    April 12, 2017 at 9:14 pm
  • Marie
    Super Guru 1,455 points

    Hi Stephen,

    by default the theme does not have this. You can modify the file content-listing-directory.php for this and change the last code where it will display zero result OR you can modify the code from the search-noresult.php file

    April 20, 2017 at 2:30 am
Viewing 2 posts - 1 through 2 (of 2 total)

Didn't find what you were after?

Chat with us now

or contact our support team