Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

cyarema on "Geolocation Redirect"

$
0
0

**Note, tried to put this in WP-Advanced, but couldn't post there**
A previous programmer at my company did this coding to detect user location (on mobile) and direct them to the nearest pharmacy (there are only 4):

http://pastebin.com/v4Qbw6eL

I have the header, function, and archive page code in pastebin

However it stopped working. I don't know if it's due to the outdated where.yahoo since that changed to boss. But I don't know how to fix it. I've searched the internet far and wide and can't seem to figure out how to redirect the users and this previous code seems like it would do the trick.

Any help or solutions would be amazing since I'm supposed to have this done by the end of the week.


Viewing all articles
Browse latest Browse all 8245

Trending Articles