Linux 软件免费装
Banner图

IP2Location Tags

开发者 IP2Location
更新时间 2025年12月3日 15:22
捐献地址: 去捐款
PHP版本: 2.0 及以上
WordPress版本: 6.9

标签

geolocation ip location ip country geo-targeting ip2location ipv4 ipv6 localized content ip region iso3166 customize content

下载

2.13.1 2.8.4 2.10.3 2.10.4 2.6.0 2.7.0 2.7.1 2.8.0 2.8.1 2.8.2 2.8.3 2.8.6 2.8.7 2.8.9 2.9.1 2.9.2 2.9.3 2.10.2 2.11.1 2.12.0 2.12.1 2.12.5 2.12.6 2.13.0 2.9.0 2.10.0 2.10.6 2.12.2 2.10.1 2.10.7 2.11.0 2.12.3 2.13.2 2.13.3 2.10.5 2.12.4 2.12.7 2.13.4 2.13.5 2.13.6 2.13.7 2.8.5

详情介绍:

IP2Location Tags helps you to serve specific content to website visitors based on geographic location for different countries and regions via IP address lookup. This plugin provides a relatively easy way to detect visitors’ IP addresses and translate it into geolocation information, and then keep visitors better engaged with localized information or content that’s most relevant to them. Key Features This plugin supports both IP2Location IP geolocation BIN data and web service for IP geolocation lookup. 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. Get visitor's location information with Variable Tag Usage example Display visitor's IP address, country name, region name and city name. Your IP is {ip:ipAddress} You are in {ip:countryName}, {ip:regionName}, {ip:cityName} Geo-targeting: Customize the post content with IP2Location Tag Syntax to show content for specific country [ip:XX[,XX]..[,XX]]Your content here.[/ip] Note: XX is a two-character ISO-3166 country code. Example To show the content for United States or Canada visitors only. [ip:US,CA]Only visitors from United States or Canada can view this line.[/ip] Syntax to show content for specific country and region [ip:XX:YY[,XX:YY]..[,XX:YY]]Your content here.[/ip] Note: XX is a two-character ISO-3166 country code and YY is a ISO-3166-2 sub-division code. Example To show the content for California or New York visitors only. [ip:US:CA,US:NY]Only visitors from California or New York can view this line.[/ip] Syntax to hide the content from specific country [ip:*,-XX[,-XX]..[,-XX]]Your content here.[/ip] Note: XX is a two-character ISO-3166 country code. Example All visitors will be able to see the line except visitors from Vietnam. [ip:*,-VN]All visitors will be able to see this line except visitors from Vietnam.[/ip] Syntax to hide the content from specific country and region [ip:*,-XX:YY[,-XX:YY]..[,-XX:YY]]Your content here.[/ip] Note: XX is a two-character ISO-3166 country code and YY is a ISO-3166-2 sub-division code. Example All visitors will be able to see the line except visitors from California. [ip:*,-US:CA]All visitors will be able to see this line except visitors from California.[/ip] More Information Please visit us at https://www.ip2location.com

安装:

  1. Upload ip2location folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Download the latest BIN database at settings page.
  4. You can now start using IP2Location tag to customize your post content.
Please take note that this plugin requires minimum PHP version 5.4.

屏幕截图:

  • IP2Location Tags shortcode display

更新日志: