Content Visibility Geolocation

外掛說明

Content Visibility Geolocation is an add-on for 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 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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Content Visibility Geolocation〉的開發相關工作。

參與者

將〈Content Visibility Geolocation〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.