Title: Content Visibility Geolocation
Author: Rich Tape
Published: <strong>2021 年 4 月 7 日</strong>
Last modified: 2022 年 12 月 13 日

---

搜索插件

![](https://ps.w.org/content-visibility-geolocation/assets/banner-772x250.png?rev
=2510965)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/content-visibility-geolocation_535166.
svg)

# Content Visibility Geolocation

 作者：[Rich Tape](https://profiles.wordpress.org/iamfriendly/)

[下载](https://downloads.wordpress.org/plugin/content-visibility-geolocation.0.1.2.zip)

 * [详情](https://cn.wordpress.org/plugins/content-visibility-geolocation/#description)
 * [评价](https://cn.wordpress.org/plugins/content-visibility-geolocation/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/content-visibility-geolocation/#developers)

 [支持](https://wordpress.org/support/plugin/content-visibility-geolocation/)

## 描述

Content Visibility Geolocation is an add-on for [Content Visibility](https://wordpress.org/plugins/content-visibility/)–
a plugin which allows you to decide when, where, and to whom each piece of your 
content is shown (or hidden!).

The geolocation add-on allows you to show or hide any of your content blocks to 
users visiting your site from any country of your choosing.

Need to only show a message to folks visiting from Canada 🇨🇦? No problems, eh.

How about showing a banner to your British 🇬🇧 visitors? You got it, guvnor. (I’m
a Brit living in Canada 😉 )

Note: This uses cookies to help reduce API calls. If that is something you need 
to tell your users about, please make sure to do just that 🙂

### Development

Development is mostly done on [github](https://github.com/richardtape/content-visibility-geolocation/issues/new)
and releases are made there and here to the WordPress plugins directory.

## 屏幕截图

 * [[
 * Showing the content visibility geolocation controls in the content editor sidebar

## 常见问题

### What if someone uses a VPN?

People can be sneaky. This plugin uses a 3rd party IP-lookup API (which you can 
self-host should you desire) which gets location data based on the IP Address passed
to it. If a user is using a VPN to mask where they are coming from, it is quite 
likely that the user will see content restricted to the country of their VPN connection.

### Does this store cookies in a user’s browser?

Yes. It does this in order to stop hitting an API for every page load. A cookie 
is stored for 1 week with information about where the person is visiting from.

### What’s with the logo?

It’s a chameleon. A cool little creature which can change the way it appears – to
make itself more or less visible. Seemed appropriate! Also, your suspicions are 
correct; a designer, I am not.

### Got a question?

Let me know: [https://github.com/richardtape/content-visibility-geolocation/issues/new](https://github.com/richardtape/content-visibility-geolocation/issues/new)

## 评价

此插件暂无评价。

## 贡献者及开发者

「Content Visibility Geolocation」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Rich Tape ](https://profiles.wordpress.org/iamfriendly/)

[帮助将「Content Visibility Geolocation」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/content-visibility-geolocation)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/content-visibility-geolocation/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/content-visibility-geolocation/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/content-visibility-geolocation/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/content-visibility-geolocation/)。

## 更新日志

#### 0.1.2

 * WP 6.1.1 compatibility.
 * Fixed warning on widgets screen.

#### 0.1.1

 * Added indicator to show when a country is selected to more easily determine when
   a block has rules.
 * WP 5.8.0 compatibility.

#### 0.1.0

 * First public release.

## 额外信息

 *  版本 **0.1.2**
 *  最后更新：**3 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/content-visibility-geolocation/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[content](https://cn.wordpress.org/plugins/tags/content/)
   [contentvisibility](https://cn.wordpress.org/plugins/tags/contentvisibility/)
   [geolocation](https://cn.wordpress.org/plugins/tags/geolocation/)[visibility](https://cn.wordpress.org/plugins/tags/visibility/)
 *  [高级视图](https://cn.wordpress.org/plugins/content-visibility-geolocation/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/content-visibility-geolocation/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/content-visibility-geolocation/reviews/)

## 贡献者

 *   [ Rich Tape ](https://profiles.wordpress.org/iamfriendly/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/content-visibility-geolocation/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://girlswhocode.com/)