Hello,
I am in trouble!!!
I'm have a adevertising site that geo locates the user and shows ads accordingly:
http://truthseeker.co/
I am trying to filter the loop so it only shows custom posts relevant to where the user is on the google map on the top of the page and or where the user has been located to be.( i hope that makes sense)
now i'm having a little trouble i've managed to get the map to geo locate the user but my loop appears to be broken it's not showng any ads at all:(
here are the relvant code snippets:
this is the map plugin that calls the map:
http://pastebin.com/uHZaiyJN
http://pastebin.com/0Ly7ycbi
heres the index.php:
http://pastebin.com/fb40sEtz
heres the map.php that shows up on the front page:
http://pastebin.com/cvhmeVsF