Title: Mapple
Author: andrekelling
Published: <strong>2018 年 4 月 18 日</strong>
Last modified: 2018 年 10 月 19 日

---

搜尋外掛

![](https://ps.w.org/mapple/assets/banner-772x250.jpg?rev=1937361)

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

![](https://s.w.org/plugins/geopattern-icon/mapple_8a9094.svg)

# Mapple

 由 [andrekelling](https://profiles.wordpress.org/andrekelling/) 開發

[下載](https://downloads.wordpress.org/plugin/mapple.1.5.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/mapple/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/mapple/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/mapple/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/mapple/#developers)

 [技術支援](https://wordpress.org/support/plugin/mapple/)

## 外掛說明

This plugin is for showing your clients.
 You can output a google map with markers
and a table as a list of all clients. You can tag clients and show a search and 
filter bar. This Plugin does not need jQuery on the FrontEnd!

The google map is centered shown to all markers added. Markers got little Infowindows
with client’s name, website and address.
 Map style and marker image customisation
is possible.

A few notes about technical things:

 * provides a new custom post type `clients`
 * map functionality works over the REST_API
 * the limit of fetched `clients` posts is unset. Beware of the risk fetching too
   much!!! (proper limitation feature is planned)

### Shortcodes

 * `[mapple_map]` will create the google map with marker
 * `[mapple_clients]` will create a table with all clients

There are a few possible attributes you can provide to your `mapple_clients` shortcode.

Here a full example with all possible options:

    ```
    [mapple_clients title-name="Name" title-address="Adresse" title-desc="Beschreibung" title-tags="Branche" title-search="Suche" title-search-placeholder="lostippen..." title-filter-label="Nach Branche filtern" with-tags="true" with-search="true"]
    ```

all `title-` attributes are for customising wordings.

    ```
    [mapple_clients title-name="Name" title-address="Adresse" title-desc="Beschreibung" title-tags="Branche" title-search="Suche" title-search-placeholder="lostippen..." title-filter-label="Nach Branche filtern"]
    ```

all `with-` attributes activate the tags coloumn, and filter when search is also
active.

    ```
    [mapple_clients with-tags="true" with-search="true"]
    ```

### Credit

 * Plugin banner image taken from [rawpixel](https://unsplash.com/@rawpixel?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge)

## 螢幕擷圖

[⌊Output of Map and Table on the Front End. In between some text. You can place 
your shortcodes around.⌉⌊Output of Map and Table on the Front End. In between some
text. You can place your shortcodes around.⌉[

Output of Map and Table on the Front End. In between some text. You can place your
shortcodes around.

[⌊custom styled Map with open infowindow⌉⌊custom styled Map with open infowindow⌉[

custom styled Map with open infowindow

[⌊New custom clients Post Type with address autocompletion⌉⌊New custom clients Post
Type with address autocompletion⌉[

New custom clients Post Type with address autocompletion

[⌊Enable search and filter section for clients in the table⌉⌊Enable search and filter
section for clients in the table⌉[

Enable search and filter section for clients in the table

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Clients->Settings screen to configure the plugin. Get a Google Maps API
    key and enter on this plugin’s settings page.

## 常見問題集

  Why my images aren’t loaded in the google map infobox?

If you have a JS error in your browser console that a GET request to the REST API
of an media item failed.
 It might be that your requested image is WP internally
connected to another post with another post-type which isn’t open for REST requests.
You can follow this guide for success: [https://scottbolinger.com/custom-post-types-wp-api-v2/](https://scottbolinger.com/custom-post-types-wp-api-v2/)

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ andrekelling ](https://profiles.wordpress.org/andrekelling/)

[將〈Mapple〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/mapple)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/mapple/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/mapple/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/mapple/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/mapple/)。

## 變更記錄

#### 1.5.2

 * fix google map infobox not opening if media request fails
 * add broken image for failed media request in infobox

#### 1.5.1

 * remove default 10 post entries limit from table and map

#### 1.5.0

 * enable google maps marker image customisation
 * fix infowindow opening when thumbnail image size missing
 * remove nowrap style from table title column

#### 1.4.1

 * fix JS error appearing on pages without mapple_clients table output

#### 1.4.0

 * enable google maps style customisation
 * remove unused `php_vars` from wp_localize_script

#### 1.3.0

 * enable shortcode attribute `title-filter-label` to customise tag filter label
 * enable cpt clients featured image to get used in maps info window

#### 1.2.0

 * fix to show just the tags used by custom post type clients and not all

#### 1.1.0

 * enable tag’s for custom post type “clients”
 * add optional show tag’s column in clients table
 * add optional search and filter section for clients table
 * enable shortcode attributes to customise table headings

#### 1.0.0

 * Initial version

## 中繼資料

 *  版本 **1.5.2**
 *  最後更新 **8 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.32**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/mapple/)
 * 標籤:
 * [Google Maps](https://tw.wordpress.org/plugins/tags/google-maps/)[no jquery](https://tw.wordpress.org/plugins/tags/no-jquery/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/mapple/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/mapple/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/mapple/reviews/)

## 參與者

 *   [ andrekelling ](https://profiles.wordpress.org/andrekelling/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/mapple/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://andrekelling.de/)