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

Contact Form 7 Map Field

外掛說明

This plugin provides a new field to Contact Form 7: a map with a coordinates marker, letting the user mark a location.
The marker coordinates (longitude & latitude) are than passed to the contact form.

in version 2.0 i’ve added geolocation, making the map and marker to be focused on the supposed user location.

螢幕擷圖

  • How it looks in the form edititing.
  • Example of a form with map (location) input field.

安裝方式

You MUST have Contact Form 7 installed!

Best way is to use WordPress’ built-in “Add New” installer:

  1. in WordPress admin bar go to Plugins.
  2. Press the “Add New”.
  3. search for “Contact Form 7 Map Field”.
  4. Press “Install Now”.
  5. Press “Activate Plugin”.

Or:

  1. Download the zip file.
  2. Extract the folder (contact-form-7-map-field) inside the zip to …wp-content/plugins/ directory of your WordPress installation.
  3. Activate the plugin from plugins page.

Now that the plugin is installed you can start using it:

  1. Edit a form in Contact Form 7.
  2. Choose “Map” from the Generate Tag dropdown.
  3. Follow the instructions on the page.

常見問題集

What map does it use by default?

The map data is provided by OpenStreetMap. and is powered by Leaflet.

Can i use a different map provider?

I really recommend using Leaflet with OSM. But if you insist than you can, as long as you know some basic html, javascript and your map api.

I like this plugin, how can i donate to it?

Simply go to the donate link.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Contact Form 7 Map Field〉的開發相關工作。

參與者

將〈Contact Form 7 Map Field〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

Initial plugin release.

1.1

Switched to work with Leaflet & OpenStreetMap.

1.3

Some code fixing and cleaning.

1.4

Fixed marker icon wrong path, collision with Leaflet Maps Marker plugin.

1.5

Better code structure.

2.0

Added geolocation, now the map and marker are focused on the supposed user location.

2.1

Bug fixes in geolocation.

2.2

Added validation.

2.3

Added minimum map zoom validation.