Title: Minimal Shortcode UI
Author: Max
Published: <strong>2015 年 6 月 3 日</strong>
Last modified: 2016 年 2 月 6 日

---

搜索插件

![](https://ps.w.org/minimal-shortcode-ui/assets/banner-772x250.jpg?rev=1173562)

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

![](https://ps.w.org/minimal-shortcode-ui/assets/icon.svg?rev=1173575)

# Minimal Shortcode UI

 作者：[Max](https://profiles.wordpress.org/maxdw/)

[下载](https://downloads.wordpress.org/plugin/minimal-shortcode-ui.zip)

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

 [支持](https://wordpress.org/support/plugin/minimal-shortcode-ui/)

## 描述

The minimum code required that allows the user configure and add an shortcode to
the page contents using a popup form that is accessible through the TinyMCE content
editor.

Suitable for developers that wish to provide their users with an easy way of adding
your custom shortcodes. The plugin provides an abstract shortcode class that can
be extended and registered into the shortcode factory. Which will result in the 
shortcodes showing up in the dropdown menu.

## 屏幕截图

 * [[
 * screenshot-1.jpg
 * [[
 * screenshot-2.jpg

## 安装

 1. Download ZIP file
 2. Unzip contents to the /wp-content/plugins/ directory
 3. 通过WordPress的“插件”菜单激活插件
 4. If developing shortcodes for your theme or plugin, have a look at example.php

## 常见问题

  Is this plugin multilingual?

All text is run through translation functions, but no translation files are provided
out of the box.

  How do I start adding shortcodes to my content?

When you activate the plugin a new button will be available in the ‘Visual’ mode
of the content editor. This will open up a dialog that will allow you to select 
and customize available shortcodes.

  How do I add my own custom shortcodes?

Make sure the plugin is active and have a look at example.php in the plugin’s root
directory.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「Minimal Shortcode UI」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/minimal-shortcode-ui)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.1

 * Tested WordPress 4.4.2 support

#### 1.2.0

 * Changes that will give plugin/theme developers more control over their shortcodes.
 * Added filter sui_shortcode_get
 * Added filter sui_shortcode_array
 * Added filter sui_shortcodes_before_remove
 * Added filter sui_shortcodes_before_unregister
 * Added filter sui_shortcodes_before_add
 * Added filter sui_shortcodes_before_register
 * Added filter sui_shortcodes_get
 * Added action sui_shortcodes_before_registration
 * Added filter sui_shortcodes_registration

#### 1.1.1

 * Fixes parsing errors when your server has ASP, eRuby or JSP enabled. The Underscore
   templates now use different delimiters.

#### 1.1.0

 * Added Shortcodes::exists to check for Shortcode existence by tag name or class
   name
 * Added Shortcodes::get to return the registered Shortcode object by tag name or
   class name
 * Added the ability to define field labels by using the Shortcode’s object _labels
   property or the ‘label’ key when defining a field using the Shortcode _setSchemaAttribute
   method
 * Added the ability to render the shortcode itself rather than the result of the
   shortcode, use $shortcode->getShortcode($attributes, $content) to get the source
   shortcode

#### 1.0.3

 * Fixed the example.php shortcode not displaying its image

#### 1.0.2

 * Updated WordPress support for 4.3

#### 1.0.1

 * Fixes jQuery UI styles not being loaded for the dialog

#### 1.0.0

 * Initial version

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.2 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/minimal-shortcode-ui/)
 * 标签
 * [developers](https://cn.wordpress.org/plugins/tags/developers/)[multilingual](https://cn.wordpress.org/plugins/tags/multilingual/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[shortcodes](https://cn.wordpress.org/plugins/tags/shortcodes/)
   [ui](https://cn.wordpress.org/plugins/tags/ui/)
 *  [高级视图](https://cn.wordpress.org/plugins/minimal-shortcode-ui/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://dutchwise.nl/)