跳到内容

Live User IP and Location

v1.1.1

Obedullah Sajid · 2024年8月4日 上架

Display visitor IP and location using ipapi.co with caching, API test, TTL control, and optional IP anonymization.

正在使用
10+
评分
暂无
累计下载
1,798
最近更新
2026年5月25日
需要 WordPress 6.6+已测试到 7.0.9PHP 7.4+

截图

Settings page: API Key input, Test button, Cache TTL selector, and IP anonymization toggle.
Settings page: API Key input, Test button, Cache TTL selector, and IP anonymization toggle.
Shortcodes reference grid.
Shortcodes reference grid.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums