內容簡介
藉由 GPS、WiFi 和其他現代技術,精確獲取地理定位資訊,識別訪客的緯度、經度、高度、準確度、速度、方向並且如果已登錄,也會顯示使用者 ID。
取得這些資訊的方法有兩種:1. 在頁面/視窗載入時自動獲取2. 點擊按鈕、連結等手動獲取這些觸發方式都可以透過按鈕、連結等可配置設置。
這些資訊可以存儲在 cookie 或數據庫中,存儲位置可以選擇在 wp_options 或 wp_usermeta 資料表中,這些都是可配置的設置選項。
可從 cookie、WordPress ajax 或數據庫中直接訪問這些資訊。
其他外掛設置選項:
– cookie 過期時間
– 檢索和存儲的時間戳記的格式設定
– 根據 W3C 規範,可設定 HTML 地理定位的高精度選項
– 根據 W3C 規範,可設定 HTML 地理定位的最大年齡選項
– 根據 W3C 規範,可設定 HTML 地理定位的超時選項
點擊 http://woo.report/wordpress-accurate-geolocation/ 學習如何使用此外掛。
外掛標籤
開發者團隊
② 後台搜尋「WordPress Accurate Geolocation」→ 直接安裝(推薦)
原文外掛簡介
Get accurate geolocation based on GPS, WiFi and other modern techniques to identify latitude, longitude, altitude, accuracy, speed, heading of visitor and if logged in, user id.
The triggers of getting the information are on page/window load and/or through the click of a button, link, etc. These are configurable setting options.
The information can be stored in cookie and/or database, in wp_options and/or wp_usermeta tables. These are configurable setting options.
The information accessed directly from the cookie, or from WordPress ajax, or from the databse.
Other plugin settings available:
– cookie expiration time
– format mask of timestamp retrieved and stored
– HTML Geolocation high accuracy option, according to W3C specification
– HTML Geolocation maximum age option, according to W3C specification
– HTML Geolocation timeout option, according to W3C specification
Learn how to use the plugin by accessing http://woo.report/wordpress-accurate-geolocation/
