Title: Modal
Author: David Riccitelli
Published: <strong>2013 年 7 月 29 日</strong>
Last modified: 2013 年 7 月 29 日

---

搜索插件

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

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

# Modal

 作者：[David Riccitelli](https://profiles.wordpress.org/ziodave/)

[下载](https://downloads.wordpress.org/plugin/modal.1.0.7.zip)

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

 [支持](https://wordpress.org/support/plugin/modal/)

## 描述

Modal is a WordPress plugin that enables you to create modal dialogs from posts 
or pages.

Features include:

 * Create a modal dialog from any page or post.
 * Define the size of the dialog.

## 屏幕截图

 * [[
 * A form in a standard page – uses the [LaunchRock Plugin](https://wordpress.org/plugins/launchrock)
 * [[
 * The same form loaded in a modal dialog using the **Modal** plugin.

## 安装

 1. Install Modal either via the WordPress.org plugin directory, or by uploading the
    files to your server
 2. Activate Modal,
 3. Insert the _[modal …]_ short-code wherever you want the modal page/post to appear.

This is an example use (using the Contact Form plugin CSS classes to style the form):

    ```
    [modal class="mt-button"
           slug="sign-up"
           content_selector="div.content div.container"
           title_selector="div.page-title h2"
           width="1000"
           height="370"
           load_scripts="no"]

    Sign-up now!

    [/modal]
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ David Riccitelli ](https://profiles.wordpress.org/ziodave/)

[帮助将「Modal」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/modal)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.7

 * Fix: fix description error in plug-in page.

#### 1.0.6

 * Fix: fix typo in plug-in page.

#### 1.0.5

 * Other: add screenshots to the plug-in page.

#### 1.0.4

 * Feature: add a close button to the modal dialog.

#### 1.0.3

 * Fix: remove html escaping from link label.

#### 1.0.2

 * Feature: add support for class attribute.

#### 1.0.1

 * Fix: remove font style definition which may conflict with the theme styles.

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.7**
 *  最后更新：**13 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.3.0 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/modal/)
 * 标签
 * [Dialog](https://cn.wordpress.org/plugins/tags/dialog/)[modal](https://cn.wordpress.org/plugins/tags/modal/)
   [modal dialog](https://cn.wordpress.org/plugins/tags/modal-dialog/)
 *  [高级视图](https://cn.wordpress.org/plugins/modal/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/modal/reviews/)

## 贡献者

 *   [ David Riccitelli ](https://profiles.wordpress.org/ziodave/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/modal/)

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=43GGXTUREFNZE)