Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jkotchy

    (@jkotchy)

    Plugin Author Tijmen Smit

    (@tijmensmit)

    It says ‘no results’, or it never starts the search on mobile? Which device did you test it with? What is the zip code you tested it with?

    Thread Starter jkotchy

    (@jkotchy)

    Have tested with android and iphone. The geolocation works, it finds the nearest location to you and lists it. But once you search for anything, zip code, state, city, it gives the “no results” line.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    You renamed the id on the outer div from wpsl-wrap to wpsl-wrap1. If you open the /js/wpsl-gmap.js and do a search and replace for wpsl-wrap to wpsl-wrap1, then it should work on a mobile as well.

    It breaks because the script is looking for the max results and radius data in the wrong place ( the dropdowns are different on the desktop vs mobile ). The value is now set to NaN on mobile, but I will fix this in another way in the next version. So that if the value is found to be NaN it will use the default value.

    Thread Starter jkotchy

    (@jkotchy)

    Perfect, worked like a charm. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mobile Search showing no results’ is closed to new replies.