[WordPress] 外掛分享: IP2Location Variables

首頁外掛目錄 › IP2Location Variables
WordPress 外掛 IP2Location Variables 的封面圖片
100+
安裝啟用
★★☆☆☆
2.3/5 分(3 則評價)
27 天前
最後更新
問題解決
WordPress 2.0+ v2.10.1 上架:2013-09-12

內容簡介

IP2Location Variables 外掛提供網站訪客的地理位置資訊,透過 IP 位址查詢來獲取各種地理數據,協助用戶進行地理定位行銷活動,簡化整合流程。

【主要功能】
• 獲取國家代碼與名稱
• 顯示城市名稱及區域
• 提供經緯度與時區資訊
• 支援 IPv4 和 IPv6 位址
• 定期更新 BIN 數據以確保準確性

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.10.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「IP2Location Variables」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This useful library makes it easy to conveniently find website visitors location and provides geographic information based on IP address lookup. It also can be used to display geo-data info in posts for specific locations and to help you create geo-target marketing campaigns.
It is a library derived from https://www.ip2location.com/developers/php but works as a WordPress plugin to simplify the setup and ease the integration work. It supports both the IPv4 and IPv6 address.
Below are the geolocation information you can retrieve from this library:
* Country code
* Country name
* Country flag
* Region name
* City name
* Latitude and longitude
* ZIP code
* ISP
* Domain name
* Time zone
* Net speed
* IDD code
* Area code
* Weather station code & name
* MNC, MCC, mobile carrier name
* Elevation
* Usage type
* Address type
* Category
* District
* AS Number
* AS Name
* AS Domain
* AS Usage Type
* AS CIDR
This plugin supports both IP2Location IP geolocation BIN data and web service for geolocation queries. If you are using the BIN data, you can update the BIN data every month by using the wizard on the settings page for the most accurate result. Alternatively, you can also manually download and update the BIN data file using the below links:
BIN file download: IP2Location Commercial database | IP2Location LITE database (free edition)
If you are using the IP2Location IP geolocation web service, please visit IP2Location Web Service for details.
Usage
Call the function ip2location_get_vars() in any pages, plugins, or themes to retrieve IP2Location variables. The variables are returned in object. To use lookup for a custom IP, use ip2location_get_vars(‘IP_ADDRESS’);
More Information
Please visit us at https://www.ip2location.com

文章
Filter
Mastodon