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

Simple Map With Shortcode

描述

Create Google Maps in a minute with Simple Map With Shortcode WordPress plugin. Add Google Maps with shortcode, You can open it in a popup or use the Google Maps widget. Adding an embedded Google Map is a must for most websites. We have created a simple way to add your map with just a simple shortcode. Just Enter your address on the shortcode and paste it on the page. You can add this shortcode in your custom php file by including :

do_shortcode( "[map_marker width=600 height=350 address='YOUR_ADDRESS']" );

There are some nice features that make this plugin simple but powerful.

FEATURES INCLUDED

  1. It’s a very simple Google Map and marker to use with a shortcode.
  2. simple shortcode for adding maps to pages/posts
  3. 100% customizable.
  4. Add map with a shortcode or PHP code

Simple Map With Shortcode needs your support

It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using Simple Map With Shortcode and find it useful.

Usage

Just use basic shortcode = [map_marker width=600 height=350 address=”YOUR_ADDRESS”]

螢幕截圖

  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png
  • screenshot-4.png

安裝

  1. Upload the entire simple-map-with-shortcode folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins screen (Plugins > Installed Plugins).

You will find the Simple Map With Shortcode menu in your WordPress admin screen.

If no stable tag is provided, your users may not get the correct version of your code.

常見問題

What are Shortcodes?

Just use below shortcode anywhere in the page and post:
[map_marker width=600 height=350 address=”YOUR_ADDRESS”]

What are the parameters used with the shortcode?

The following parameters are available:
1. address = “YOUR_ADDRESS”
2. width = “600”, but (You can all any pixel or %)
3. hight = “350”, but (You can all any pixel or %)
4. align = “center”, but (valid Left and Right also)
5. zoom = “14”, but (set the default map zoom level)
6. maptype= (default is m, m = normal map, k = satellite, h = hybrid, p = terrain)
7. companycode= (Enter Google string cid from company maps listing URL)

How can I put a border around the map?

Yes – You can add simple CSS code on the iframe.
like iframe{border: 1px solid black}

This plugin is compatible form WordPress version 5 or lass

No – this plugin is working for at least WordPress version 5.5 and above.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Simple Map With Shortcode” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Simple Map With Shortcode 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

  • A change since the previous version.
  • Another change.