Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!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: 7 years ago
Active Installs: 300+


5 out of 5 stars


Got something to say? Need help?


Not enough data

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