這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Nearby Places Search

外掛說明

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

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

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

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

Configuration Settings

  1. 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

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

  3. 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).

  4. 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

螢幕擷圖

  • Admin Search Settings configuration page.
  • Frontend Search page.

安裝方式

To Install:

  1. Download and unzip the files into a folder on your hard drive.

  2. Upload the /nearby_places_search/ folder to the /wp-content/plugins/ folder on your site.

  3. Activate this plugin from /wp-admin/plugins.php page.

  4. After activation done copy the shortcode [nearby_places_search_code],Paste the Shortcode into Your Page or Post.

常見問題集

Installation Instructions

To Install:

  1. Download and unzip the files into a folder on your hard drive.

  2. Upload the /nearby_places_search/ folder to the /wp-content/plugins/ folder on your site.

  3. Activate this plugin from /wp-admin/plugins.php page.

  4. After activation done copy the shortcode [nearby_places_search_code],Paste the Shortcode into Your Page or Post.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Nearby Places Search〉的開發相關工作。

參與者

將〈Nearby Places Search〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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