Live User IP and Location

plugin banner

Get live user IP and location information and display it on your website.

Author:Obedullah Sajid (profile at wordpress.org)
WordPress version required:6.6
WordPress version tested:7.0
Plugin version:1.1.1
Added to WordPress repository:04-08-2024
Last updated:25-05-2026
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 798
Active installs:10+
plugin download
Click to start download

Live User IP and Location integrates with ipapi.co to fetch visitor geolocation and network data and provides shortcodes to display that data anywhere on your site.

Key features:
* Robust server-side IP detection using common headers.
* Optional IP anonymization to mask the most specific part of the IP (IPv4 and IPv6).
* Per-IP transient caching with configurable TTL to reduce external API calls.
* Admin settings page with API Key Test (AJAX + nonce + capability checks).
* 28 shortcodes to output IP and location data fields.
* Safe and standards-compliant implementation with i18n support.

Third-Party Services

This plugin uses the ipapi.co service to provide geolocation data. By using this plugin you agree to the ipapi.co terms of use and privacy policy:
* https://ipapi.co/terms/
* https://ipapi.co/privacy/
* The plugin sends the visitor IP address (or anonymized IP, if enabled) to ipapi.co when shortcode data is requested.
* The plugin stores API responses in local WordPress transients based on IP/API key for the selected cache duration.

Usage

Place any of the provided shortcodes in posts, pages, or widgets to display IP or location data. Example shortcodes:
[luipl_ip], [luipl_network], [luipl_version], [luipl_city], [luipl_region], [luipl_region_code], [luipl_country], [luipl_country_name], [luipl_country_code], [luipl_country_code_iso3], [luipl_country_capital], [luipl_country_tld], [luipl_continent_code], [luipl_in_eu], [luipl_postal], [luipl_latitude], [luipl_longitude], [luipl_timezone], [luipl_utc_offset], [luipl_country_calling_code], [luipl_currency], [luipl_currency_name], [luipl_languages], [luipl_country_area], [luipl_country_population], [luipl_asn], [luipl_org], [luipl_all_fields]

Support

For support and further information, visit https://profiles.wordpress.org/obedullah/ or open a support thread on the WordPress plugin page.

License

This plugin is licensed under the GPL v3 or later. For more information, see https://www.gnu.org/licenses/gpl-3.0.html.

Credits

This plugin uses the IP geolocation service provided by IPAPI (https://ipapi.co/). Thanks to IPAPI for providing geolocation data.


Screenshots
FAQ
ChangeLog