Forum: Feature Requests

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Feature Requests premium extension please open a new premium support ticket.

[Resolved]Integrate with WP Engine GeoIP?

Forums Feature Requests Integrate with WP Engine GeoIP?

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #38228

    HI Mike,
    The script below is not tested but I based it on the information of the link you provided me with. Add the script below to the functions.php file:

    I hope that helps

    #38293
    m1k3kdot
    Member

    Thanks, Eyal, but if I’m not using Users or any of the buddypress addons, will this work for the default address? As a not developer, this functionality is ideal especially if you are trying to take advantage of WP Engine’s caching.

    Private Content Hidden
    #38373

    It should work without any add-ons. The ul_address value is the current address of the visitor. Regardless if it is a member or not.

    #38480
    m1k3kdot
    Member

    That makes sense but it’s hard to tell if it works or not because the data from mobile while NOT using wifi, shows crazy data. In my last test, it’s showing Cali but the geo pin is showing NJ.

    Private Content Hidden
    #38523

    I see now.
    I forgot to add the coordinates to the function. Replace the previous function with the one below and try again:

    #38578
    m1k3kdot
    Member

    AWESOME! This is wonderful! Now if WP Engine and those devs would be able to get a more accurate address from the cell towers, it would be awesome! I love this! This is great, thanks Eyal!

Viewing 6 posts - 16 through 21 (of 21 total)

The topic ‘Integrate with WP Engine GeoIP?’ is closed to new replies.