[WordPress] 外掛分享: User IP and Location

首頁外掛目錄 › User IP and Location
WordPress 外掛 User IP and Location 的封面圖片
3,000+
安裝啟用
★★★★
4.2/5 分(9 則評價)
245 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.2+ v4.0.2 上架:2020-03-23

內容簡介

如果您希望在 WordPress 網站上顯示公開可用的資訊,例如訪客的 IP 位置、瀏覽器詳細資訊、作業系統等,「User IP and Location」是一個非常優秀的外掛程式。

設置這個外掛程式非常簡單,提供的簡碼可輕鬆地在網站的任何部分顯示這些資訊。例如,您可以將簡碼添加到側邊欄或頁腳上,在網站的每個頁面上展示此資訊。

「User IP and Location」使用IP-API網站來獲取用戶的IP位置資訊,因此它始終是最新的。

User IP and Location 的一些功能包括:

[userip_location type="ip"]
[userip_location type="continent"]
[userip_location type="country"]
[userip_location type="countrycode"]
[userip_location type="region"]
[userip_location type="regionname"]
[userip_location type="city"]
[userip_location type="lat"]
[userip_location type="lon"]
[userip_location type="timezone"]
[userip_location type="currency"]
[userip_location type="isp"]
[userip_location type="mobile"]
[userip_location type="proxy"]
[userip_location type="hosting"]
[userip_location type="browser"]
[userip_location type="os"]
[userip_location type="flag" height="auto" width="50px"]

如果您在 User IP and Location 中使用國旗的簡碼,請注意,高度和寬度參數是可選的。預設情況下,高度設置為自動,寬度設置為50px。不過,您可以通過傳遞任何或兩者參數並將它們設置為您偏好的值來修改國旗的大小。

User IP and Location的特色

簡單且快速的設置。
可以用來顯示網站訪客的IP位置、瀏覽器詳細資訊、作業系統等詳細資訊。
使用IP-API網站來獲取用戶的IP位置資訊,因此它始終是最新的。
輕鬆檢測您網站訪客的瀏覽器和作業系統。
簡碼可用於在網站上顯示此資訊的任意位置。
支援旗幟和貨幣簡碼。

如果您想在 WordPress 網站上輕鬆顯示訪客的IP位置、瀏覽器和作業系統資訊,那麼使用 User IP and Location 是一個絕佳的外掛程式。

感謝

此外掛程式由 HeySERP 和 TheWPX 團隊創建。

若想了解更多 WordPress 資訊,可瀏覽我們的網站 TheGuideX ,其中包括以下主題的教學:

在 WordPress 中獲取訪客的IP位置和位置
解決 WordPress 常見問題
最佳 WordPress 廣告管理器外掛程式

…以及更多 WordPress 教學。

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.0.2) 或搜尋安裝

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

原文外掛簡介

Looking to display your website visitor’s IP address, location, browser details, and other information on your WordPress site? Then “User IP and Location” plugin is exactly what you need!
This plugin is very simple to set up and use. Just install it, and you can start showing visitor information anywhere on your website using easy shortcodes. You can put these shortcodes in your posts, pages, sidebar, footer – anywhere you want!
The best part? We use the reliable and free IP-API service to get all the location data, so the information is always accurate and up-to-date.
New in Version 4.x.x – Works with Caching Plugins!
Are you using WP-Rocket, W3 Total Cache, or any other caching plugin? No problem at all! We’ve completely rebuilt the plugin to work perfectly with all caching plugins. Your visitors will always see their own correct information, not some cached data from another visitor.
Advanced Features:

Multi-Language Support – Get location names in 8 different languages (English, German, Spanish, Portuguese, French, Japanese, Chinese, Russian)
PRO API Key Support – Use your premium IP-API key for higher limits and HTTPS security
Smart Caching System – Built-in server-side caching with customizable expiration times (1 hour to 1 week)
Conditional Content – Show different content to visitors from specific countries, regions, or cities
Developer Tools – PHP functions and REST API endpoints for custom development
Customizable Output – Change “Yes/No” text to any language or format you prefer

Here are all the shortcodes you can use:
[userip_location type="ip"] - Shows visitor's IP address
[userip_location type="continent"] - Shows continent name
[userip_location type="country"] - Shows country name
[userip_location type="countrycode"] - Shows country code (like IN, US, UK)
[userip_location type="region"] - Shows region code
[userip_location type="regionname"] - Shows region/state name
[userip_location type="city"] - Shows city name
[userip_location type="zip"] - **NEW!** Shows ZIP/postal code
[userip_location type="lat"] - Shows latitude
[userip_location type="lon"] - Shows longitude
[userip_location type="timezone"] - Shows timezone
[userip_location type="currency"] - Shows local currency
[userip_location type="isp"] - Shows internet provider name
[userip_location type="mobile"] - Shows if visitor is on mobile network
[userip_location type="proxy"] - Shows if visitor is using proxy
[userip_location type="hosting"] - Shows if IP is from hosting provider
[userip_location type="browser"] - Shows browser name
[userip_location type="os"] - Shows operating system
[userip_location type="flag" height="auto" width="50px" vertical_align="middle"] - Shows country flag
[userip_localtime] - **NEW!** Shows visitor's current local time
[userip_localdate] - **NEW!** Shows visitor's current local date

Smart Conditional Content:
Show different content to visitors from different places! Perfect for targeted marketing, regional offers, or localized messages.
[userip_conditional country="US,IN"]Content for US and India visitors only[/userip_conditional]
[userip_conditional country_not="CN,RU"]Content for everyone except China and Russia[/userip_conditional]
[userip_conditional region="CA,TX"]Special offers for California and Texas![/userip_conditional]
[userip_conditional city="Mumbai,Delhi"]Mumbai and Delhi exclusive deals[/userip_conditional]

About the Flag Shortcode:
When using the flag shortcode, you can control its size and position. The height, width, and vertical_align options are all optional. By default, height is auto, width is 50px, and it aligns in the middle. You can change these as per your needs.
Why Choose User IP and Location Plugin?

Super Easy Setup – Just install and activate, that’s it!
Works with All Caching Plugins – WP-Rocket, W3 Total Cache, you name it!
Fast Loading – Uses modern AJAX technology so it doesn’t slow down your site
Lots of Information – IP, country, city, flag, browser, OS, ISP, and much more
Multi-Language Support – Location names in 8 different languages
PRO API Support – Use premium IP-API keys for higher limits and HTTPS
Smart Caching – Server-side caching with customizable expiration (1 hour to 1 week)
New Features – ZIP code and local time shortcodes added
Smart Content – Show different content to visitors from different countries, regions, or cities
Always Updated – Uses reliable IP-API service for accurate data
Developer Friendly – Includes PHP functions and REST API for custom development
Customizable – Change output text, caching settings, and more from admin panel

Perfect for bloggers, businesses, and developers who want to personalize their website based on visitor location!
Credits
This awesome plugin is created by the talented team at HeySERP .
Want to learn more about WordPress? Check out our website TheGuideX where we share helpful tutorials on:

How to Get User IP and Location in WordPress
Common WordPress Errors & How to Fix Them
Best WordPress Ad Management Plugins

…and many more helpful WordPress tutorials in simple language!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon