跳到内容

WP Country Class In Body Tag

v1.0.2

kashanshah · 2018年5月14日 上架

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 …

正在使用
10+
评分
暂无
累计下载
2.1 万
最近更新
2018年5月15日
需要 WordPress 4.0.1+已测试到 4.9.36PHP 5.2.4+

贡献者

截图

Activate the plugin
Activate the plugin
Guide about the plugin may be found in "WP Country Class In Body Tag" option under Settings in menu bar.
Guide about the plugin may be found in "WP Country Class In Body Tag" option under Settings in menu bar.
"WP Country Class In Body Tag" page.
"WP Country Class In Body Tag" page.

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.

Plums

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

导航

说明

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

© 2026 Plums