WordPress.org

Ready to get started?Download WordPress

Forums

HELP!!!!!!!!!!! (1 post)

  1. vimes1984
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic