Title: Simple Map With Shortcode
Author: Arjun Soni
Published: <strong>2022 年 3 月 24 日</strong>
Last modified: 2022 年 3 月 24 日

---

搜索插件

![](https://ps.w.org/simple-map-with-shortcode/assets/banner-772x250.png?rev=2698912)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/simple-map-with-shortcode/assets/icon-256x256.png?rev=2698911)

# Simple Map With Shortcode

 作者：[Arjun Soni](https://profiles.wordpress.org/arjun50soni/)

[下载](https://downloads.wordpress.org/plugin/simple-map-with-shortcode.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-map-with-shortcode/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-map-with-shortcode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-map-with-shortcode/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-map-with-shortcode/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Simple Map With Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Arjun Soni ](https://profiles.wordpress.org/arjun50soni/)

[帮助将「Simple Map With Shortcode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-map-with-shortcode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-map-with-shortcode/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-map-with-shortcode/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/simple-map-with-shortcode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-map-with-shortcode/)。

## 更新日志

#### 1.0.0

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

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.4 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-map-with-shortcode/)
 * 标签
 * [direction](https://cn.wordpress.org/plugins/tags/direction/)[google map](https://cn.wordpress.org/plugins/tags/google-map/)
   [map](https://cn.wordpress.org/plugins/tags/map/)[Map with marker](https://cn.wordpress.org/plugins/tags/map-with-marker/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-map-with-shortcode/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/simple-map-with-shortcode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-map-with-shortcode/reviews/)

## 贡献者

 *   [ Arjun Soni ](https://profiles.wordpress.org/arjun50soni/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-map-with-shortcode/)