plugin-icon

WP Country Class In Body Tag

作者:kashanshah·
This plugin is developed to add visitor's country class on the body tag of the page to use in displaying country based content on the website! By …
版本
1.0.2
活跃安装
10
最后更新
May 14, 2018

This plugin is developed to add visitor’s country class on the body tag of the page to use in displaying country based content on the website! By using the country class, the developer may show/hide/modify content with css/js. It uses a 3rd Party API (GeoPlugin.net) for this purpose. It send the user’s IP Adress to GeoPlugin.net, i.e. http://www.geoplugin.net/json.gp?ip=XXX.XXX.XX.XXX, which in response returns the geo-location information about that IP Adress, out of which our plugin adds the country code as classname in the body tag.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.9.29
这个插件是可用的下载,适用于您的站点。