I am in trouble!!!
I'm have a adevertising site that geo locates the user and shows ads accordingly:
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:
heres the index.php:
heres the map.php that shows up on the front page: