[WordPress] 外掛分享: Nearby Places Search

WordPress 外掛 Nearby Places Search 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Nearby Places Search」是 2017-06-14 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2017-06-15,距離現在已有 2881 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

dipankardipu123 |

外掛標籤

admin | radius | location | google map shortcode | Google map place search |

內容簡介

附近地點搜尋:此外掛整合了 Google Places 和 GMap。

顯示一個特定類型的地方列表,可從後臺進行配置,在指定的地點設置的半徑範圍內。

需求

Google Maps API 金鑰。

短碼

短碼:[nearby_places_search_code]

用法

在路徑 (wp-admin/options-general.php?page=searchsettings) 中配置地點搜索的設置。

在配置頁面中更改地點類型、中心點和中心點半徑。

複製短碼 [nearby_places_search_code],將其粘貼到您的頁面、文章或任何自定義的文章類型中。

配置設置

位置類型 —— 僅限選擇一個值的位置類型。
請參見 https://developers.google.com/places/documentation/supported_types
以獲得支援的類型。
預設值設為:Atm|Bank|Hospital|Park|Restaurant|School

Google API 驗證方法 —— 「API 金鑰」或「Google Maps API for Work」
根據選擇的方法添加「Google Maps API 金鑰」。

地點 —— 檢索位置信息的緯度/經度。
必須指定為緯度、經度。
預設值設為 18.5204, 73.8567 (印度馬哈拉施特拉邦普內市)

半徑 —— 定義要返回的地點結果的距離(以米為單位)。允許的最大半徑為 50000 米。預設設為 1000 米。

注意:默認配置值定義於「config/nearby_places_search_config.php」。

參考連結

https://developers.google.com/places/web-service/search#PlaceSearchRequests

原文外掛簡介

Nearby Places Search: This Plugin integrates with the Google Places and GMap.
Shows a list of places of a certain type and configurable from the back-end
settings within the specified radius for specified location.
Requirement
Google Maps API Key.
Shortcode
Shortcode : [nearby_places_search_code]
Usage

In path (wp-admin/options-general.php?page=searchsettings) configure the search settings for
places.

You can change the type of place, the center point and the radius from the
center point in the configuration page.

Copy the shortcode [nearby_places_search_code],Paste the Shortcode into Your Page , Post or any custom post type.

Configuration Settings

Location Types – Location Type is restricted to select only one value.
See https://developers.google.com/places/documentation/supported_types
for supported types.
Default values set as: Atm|Bank|Hospital|Park|Restaurant|School

Google API Authentication Method – ‘API Key’ or ‘Google Maps API for Work’
As per method selection add ‘Google Maps API Key’.

Location – The latitude/longitude around which to retrieve the information
of place. This must be specified as latitude,longitude.
Default value set to 18.5204, 73.8567 (Pune, Maharashtra, India).

Radius – Defines the distance (in meters) within which to return place
results. The maximum allowed radius is 50000 meters. Default set to 1000 meter.

Note : Default configuration value define at ‘config/nearby_places_search_config.php’
Reference link
https://developers.google.com/places/web-service/search#PlaceSearchRequests

各版本下載點

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

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


最新版本

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

  • Google Maps – Simple Pins 》現場示範:, 您可以在demo.bunte-giraffe.de上查看我們外掛的現場示範。使用者名稱:demo,密碼:demo。, 重要提示:使用此外掛需 Google Maps API 金鑰。請...。
  • Wp Maps 》這個外掛讓您可以輕鬆地透過幾個點擊在您的網站中整合 Google 地圖。只要設定您的位置,就可以在您的網頁和文章中輕鬆地顯示地圖。, 按某個分類或文章 ID 顯...。
  • ST Google Map 》這是一個簡單的 WordPress 外掛,可用來建立 Google 地圖。, 若您需要更多支援或自訂功能,請造訪我們的網址 http://beautiful-templates.com/evo/st-google-...。

文章
Filter
Apply Filters
Mastodon