WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP GeoLocation

This plugin uses the MaxMind GeoIP JS Web Service to return the Country, Region, City, Latitude, and Longitude WordPress shortcodes.

  1. Upload wp-geolocation-js.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use any of the following shortcodes in your posts or pages: [mmjs-countrycode] : returns the ISO 3166-2 country code [mmjs-countryname] : returns the country name [mmjs-city] : returns the city name [mmjs-region] : returns the ISO 3166-2 country code (state or province abreviation) [mmjs-regionname] : returns the region name [mmjs-lat] : returns latitude [mmjs-long] : returns longitude [mmjs-postalcode] : returns post/zip code [mmjs-ip] : returns ip address
  4. The following JavaScript variables are also made availble in your theme: mmjsCountryCode mmjsCountryName mmjsCity mmjsRegion mmjsRegionName mmjsLat mmjsLong mmjsPostalCode mmjsIPAddress

Requires: 2.7 or higher
Compatible up to: 2.9.2
Last Updated: 2010-1-10
Downloads: 3,396

Ratings

3 stars
3.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,1,1
0,1,0
0,1,0