Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.63 KB

File metadata and controls

50 lines (34 loc) · 1.63 KB

IPData.info Geolocation — WordPress Plugin

Official WordPress plugin for ipdata.info — show a visitor's country, city, flag and security flags (proxy/VPN/Tor/hosting) via a shortcode or Gutenberg block, with optional country blocking/redirect. Powered by the free ipdata.info IP geolocation API.

Get a free API key

Works out of the box on the free tier — 50 requests/min, no key. For higher limits, create a free API key at ipdata.info/register and paste it into Settings → IPData.info.

Install

  1. Copy this folder to wp-content/plugins/ipdata-wordpress (or install the zip via Plugins → Add New → Upload).
  2. Activate IPData.info Geolocation.
  3. Configure under Settings → IPData.info (optional key, cache TTL, country rules).

Usage

Shortcode:

[ipdata_geo]

Or insert the IPData.info Geo block in the editor. Both render the current visitor's country + city + flag + security flags, escaped and cached per IP.

Optional: enable a country block or redirect rule in settings to gate access by country_code.

Privacy / external service

This plugin sends the visitor's IP address to the third-party service ipdata.info to resolve geolocation. See the ipdata.info Privacy Policy. This disclosure is also in readme.txt for WordPress.org.

Other SDKs & integrations

ipdata.info ships official clients for many languages and platforms — see ipdata.info/docs/sdks.

License

GPLv2 or later © ipdata.info