Title: Ultimate Modal
Author: Claudio Sanches
Published: <strong>2013 年 4 月 22 日</strong>
Last modified: 2020 年 8 月 10 日

---

搜索插件

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

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

# Ultimate Modal

 作者：[Claudio Sanches](https://profiles.wordpress.org/claudiosanches/)

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

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

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

## 描述

Displays a modal on your WordPress site, configuring the contents with an editor.

Check the [Screenshots](https://wordpress.org/plugins/ultimate-modal/screenshots/)
for examples.

#### Credits

 * jquery.cookie by [Klaus Hartl](https://github.com/carhartl)
 * Icon by [Victor Erixon](http://www.iconfinder.com/iconsets/eightyshades)

### License

Ultimate Modal is free software: you can redistribute it and/or modify it under 
the terms of the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

Ultimate Modal is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Ultimate
Modal. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

## 屏幕截图

 * [[
 * Settings page.
 * [[
 * Plugin in action.

## 安装

 * Upload plugin files to your plugins folder, or install using WordPress built-
   in Add New Plugin installer;
 * Activate the plugin;
 * Navigate to Settings -> Ultimate Modal and fill the options.

## 常见问题

### What is the plugin license?

 * This plugin is released under a GPL license.

### How to display or hide on some pages?

Use the `ultimatemodal_is_visible` filter to control the display.

Example to hide in pages:

    ```
    /**
     * Hide the modal in pages.
     *
     * @param  bool $display
     *
     * @return bool
     */
    function ultimatemodal_hide_in_pages( $display ) {
        if ( is_page() ) {
            $display = false;
        }

        return $display;
    }

    add_filter( 'ultimatemodal_is_visible', 'ultimatemodal_hide_in_pages' );
    ```

## 评价

![](https://secure.gravatar.com/avatar/571dd9dce38fcf0913811750c6c0bfa2be06ea7950766209695e5b759a4c566c?
s=60&d=retro&r=g)

### 󠀁[not bad](https://wordpress.org/support/topic/not-bad-40/)󠁿

 [zzxjoanw](https://profiles.wordpress.org/zzxjoanw/) 2017 年 1 月 31 日

Pro: Easy to use, the modal can be turned on/off with a switch. Bad: The preview
option doesn’t display the content. Only one modal can be created at a time.

![](https://secure.gravatar.com/avatar/6a5c8a2f5134ba8076eef61bb1f2a1aa0dd85fab95e659e0c2733a904df366d8?
s=60&d=retro&r=g)

### 󠀁[Ótimo](https://wordpress.org/support/topic/otimo-119/)󠁿

 [OXIDIGITAL – Criação de Sites e Lojas Virtuais Personalizadas](https://profiles.wordpress.org/oxidigital/)
2016 年 11 月 30 日

Funciona perfeitamente! 🙂

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/ultimate-modal/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.4.2 – 18/03/2014

 * Added the `ultimatemodal_is_visible` filter.

#### 1.4.1 – 05/03/2014

 * Fixed the modal cookie creation.

#### 1.4.0 – 04/03/2014

 * Allowed auto embed / oEmbed in the modal content.
 * Improved the cookie renewal when save the plugin settings.
 * Improved the modal close, to prevent errors with videos and audios.

#### 1.3.0 – 16/12/2013

 * Fixed some code standards.
 * Added ability to run the modal shortcodes.
 * Added option to configure delay in the modal.

#### 1.2.2 – 13/12/2013

 * Fixed some code standards.
 * Added support to WordPress 3.8.

#### 1.2.1 – 29/10/2013

 * Fixed a bug in plugins page.
 * Fixed the scripts load in admin.

#### 1.2.0 – 27/10/2013

 * Added option to preview the modal in plugin settings page.
 * Added method to reset the cookie when alter the modal content.
 * Fixed the textdomain for new WordPress 3.7 standard.

#### 1.1.1 – 24/05/2013

 * Fixed standards.
 * Removed filter the_action in favor to wpautop() function.

#### 1.1.0 – 24/05/2013

 * Removed the modal_js_vars method in favor to wp_localize_script.
 * Improved use of JSHint to validate the javascript files.

#### 1.0.0

 * Initial Version.

## 额外信息

 *  版本 **1.4.2**
 *  最后更新：**6 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.8 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ultimate-modal/)
 * 标签
 * [modal](https://cn.wordpress.org/plugins/tags/modal/)[popup](https://cn.wordpress.org/plugins/tags/popup/)
 *  [高级视图](https://cn.wordpress.org/plugins/ultimate-modal/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  7 条 5 星评价     ](https://wordpress.org/support/plugin/ultimate-modal/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/ultimate-modal/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/ultimate-modal/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ultimate-modal/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/ultimate-modal/reviews/?filter=1)

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

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

## 贡献者

 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://claudiosmweb.com/doacoes/)