
內容簡介
這個針對 WordPress 的地理定位外掛是基於 Maxmind GeoIP2 資料而建立的,讓您能夠基於使用者所在的國家建立動態內容。
透過簡單的短碼,您可以指定哪些國家可以看見內容。
此外掛與 WordPress Popups Plugin 相容,讓您能夠選擇地理定位您的彈出式視窗。
若您正在使用 Cloudflare、Reblaze、Sucuri、Ezoic、Akamai 或 Clouways 等常見防火牆服務,此外掛將會自動偵測使用者的真實 IP。
這是插件的基本版本,功能有所限制,若需使用完整的地理定位外掛,請參考 https://geotargetingwp.com
使用方式如下:
[geot country="Argentina"] 梅西是最棒的球員![/geot]``
[geot country="Portugal"] 克里斯蒂亞諾·羅納爾多是最棒的球員![/geot]``
[geot exclude_country="Portugal"] 除了葡萄牙人以外的用戶都可見此文本[/geot]``
目前用戶的所在國家為:[geot_country_name]``
目前用戶的國家代碼為:[geot_country_code]``
此外掛將會儲存您所在的國家到其自身的快取中。若您需要測試不同的國家,有兩種選擇:
您可以在網址中添加國家的 ISO 代碼,例如:
http://demo.com/some-page/?geot_debug=US“
或是在 wp-config.php 檔案中添加以下內容,使用您自己的虛擬私人網路
define(‘GEOT_DEBUG’,true);“
付費版本
請查看 (https://geotargetingwp.com/) 中提供的新版付費版本。該版本搭載了更精確的 Premium 資料庫,並提供以下功能:
* 地理導向
* 地理定位範圍:國家、城市和州
* Cloudflare 地理定位支援
* 完全地理定位文章/頁面
* 基於用戶國家、州或城市建立多個導向
* 編輯器按鈕,方便您輕鬆地新增短碼
* 建立多個區域(一組國家或城市),供短碼使用
* 排除國家、城市和區域的短碼
* 下拉式小工具,讓用戶更改其所在國家(含國旗)
* 完整的 PHP 函數集
* 隱藏 Woocommerce 或 Easy digital downloads 產品,可與任何外掛配合使用
* AJAX 模式,讓此外掛與緩存外掛相容
* 除文章和頁面外,尚可導向選單項目、小工具和其他所有內容
* 未來將整合其他常見的外掛
* 付費支援
WordPress 彈出式視窗
最佳的彈出式外掛 (https://wppopups.com/)
外掛標籤
開發者團隊
② 後台搜尋「GeoTargeting Lite – WordPress Geolocation」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Based on Maxmind GeoIP2 data Geo Targeting plugin for WordPress will let you create dynamic content based on your users country.
With a simple shortcode you will be able to specify which countries are capable of seeing the content.
Compatible with WordPress Popups Plugin. You can now geotarget your popups
If you use popular firewall services such as Cloudflare, Reblaze, Sucuri, Ezoic, Akamai or Clouways the plugin will auto detect real IP from users.
This plugin it’s a basic version with limited functionality. For a full geo plugin please refer to https://geotargetingwp.com
Usage:
[geot country="Argentina"] Messi is the best! [/geot]``
[geot country="Portugal"] Cristiano ronaldo is the best! [/geot]``
[geot exclude_country="Portugal"] This text is seeing by everyone except Portuguese people [/geot]``
Current user is located in [geot_country_name]``
Current user country code is [geot_country_code]``
The plugin save into it’s own cache the country you are in. If you need to test for different countries you have two options:
You can pass a country iso code in the url like this:
http://demo.com/some-page/?geot_debug=US“
Or you can add in wp-config.php the following to use your own VPN
define(‘GEOT_DEBUG’,true);“
Premium Version
Check the new premium version available in (https://geotargetingwp.com/) that comes with Premium database with much more accuracy.
* Geo Redirects
* GeoTarget countries, cities and states
* Cloudflare geolocation support
* Geotarget posts / pages entirely
* Create multiple Redirects based on user countries states or cities
* Editor button to easily add shortcodes
* Create multiple regions (group of countries or cities) to use with shortcodes
* Exclude countries, cities and regions shortcode
* Dropdown Widget to let users change their country (with flags)
* Complete set of PHP functions
* Hide Woocommerce or Easy digital downloads products. Works with any plugin
* AJAX mode that make plugin compatible with Cache plugins
* Geotarget menu items, widgets, everything
* Upcoming integration with other populars plugins
* Premium support
WordPress Popups
Best popups plugin ever (https://wppopups.com/)
