[WordPress] 外掛分享: Foxlis Geo

前言介紹

  • 這款 WordPress 外掛「Foxlis Geo」是 2021-01-20 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2021-05-07,距離現在已有 1458 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

foxlis |

外掛標籤

geo | city | foxlis | location | ip location |

內容簡介

這個免費外掛可以透過 IP 位址來取得您網站訪客的地理位置。
如果您需要根據訪客的城市或國家進行重導向,您可以使用簡單的界面實現。
您也可以詢問訪客的城市或國家是否被偵測到,然後將他重定向到特定頁面或添加查詢參數。

優點:

多語言結果

英語
中文
法語
俄語
德語
西班牙語
日語
葡萄牙語

高速取得位置(~20 毫秒)
可透過 PHP 或 JavaScript 進行重導向
將 geo-location 結果保存到訪客會話
簡單的代碼使用
帶有模擬 IP 位址的開發者模式
爬蟲篩選器

JSON API 供獨立開發使用

無限的重導向設置

選項:詢問重導向問題
選項:每次會話僅重導向一次
選項:始終重導向

簡單的後端使用:

取得城市 getCity(); ?>
取得國家 getCountry(); ?>
取得洲 getContinent(); ?>
取得細分 getSubdivisions(); ?>
取得準確度半徑 getLocation(); $accuracyRadius = $locationEntity->getAccuracyRadius(); ?>
取得緯度 getLocation(); $latitude = $locationEntity->getLatitude(); ?>
取得經度 getLocation(); $longitude = $locationEntity->getLongitude(); ?>
取得時區 getLocation(); $timeZone = $locationEntity->getTimeZone(); ?>

使用 URL 路徑通過 JSON API 獲取訪客位置:/wp-json/foxlis-geo/v1/data/

地理位置重導向視頻教程:

榮譽鳴謝

此外掛使用了 Foxlis Geo API Foxlis Geo API

原文外掛簡介

This free plug-in allows you to get your website visitor’s geo-location by an ip-address.
If you need to redirect your visitor based on his city or country you can do that by using simple interface.
Also you can ask is visitor’s city or country like detected and forward him to specific page or add query params.
Advantages:

Multi-language result

English
Chinese
French
Russian
German
Spanish
Japanese
Portuguese

High speed getting location (~20 ms)
Redirect by PHP or JavaScript
Save geo-location results to visitor session
Simple code usage
Developer mode with fake ip-address
Bots filter

JSON API for independent developing

Unlimited redirect settings

Option: Ask a question for redirect
Option: Redirect only one time per session
Option: Redirect always

Simple backend usage:

Get city getCity(); ?>
Get country getCountry(); ?>
Get continent getContinent(); ?>
Get subdivisions getSubdivisions(); ?>
Get accuracy radius getLocation(); $accuracyRadius = $locationEntity->getAccuracyRadius(); ?>
Get latitude getLocation(); $latitude = $locationEntity->getLatitude(); ?>
Get longitude getLocation(); $longitude = $locationEntity->getLongitude(); ?>
Get time zone getLocation(); $timeZone = $locationEntity->getTimeZone(); ?>

Get visitor location by JSON API using URL-path: /wp-json/foxlis-geo/v1/data/
Redirect By Geo Location Video Tutorial:

Credits

This plug-in use Foxlis Geo API Foxlis Geo API

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Foxlis Geo」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 2.0 | 2.1 | 2.2 | 2.2.1 | 2.2.2 | 2.3.0 | 2.4.0 | 2.4.1 | 2.4.3 | 2.4.4 | 2.4.5 | 2.5.0 | 2.6.0 | 2.6.1 | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.8.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Geolocator 》這個外掛可以透過 IP 位置辨識訪客的所在地並根據國家顯示或隱藏特定內容。, 自訂欄位, 在文章編輯頁面的自訂欄位中,填入“隱藏於”欄位即可將文章隱藏於特定...。

文章
Filter
Apply Filters
Mastodon