Title: Boot-Modal
Author: albedo0
Published: <strong>2016 年 1 月 5 日</strong>
Last modified: 2025 年 1 月 7 日

---

搜索插件

![](https://ps.w.org/boot-modal/assets/banner-772x250.png?rev=1650200)

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

![](https://ps.w.org/boot-modal/assets/icon-256x256.png?rev=1650200)

# Boot-Modal

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

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

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

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

## 描述

This plugin use a simple shortcode to insert a link anywhere to open any page in
a Bootstrap modal window.
 You can use a button in the editor to generate the shortcode
for you or use the default settings.

You can setup several params like :
 – Size of the modal, – Type of the button to
open modal (link or button), – CSS class for buttons, – etc

## 屏幕截图

 * [[
 * A small modal windows. You can also use standard and large modal.
 * [[
 * The three steps to use the plugin
 * [[
 * Params of the plugin
 * [[
 * Options for the shortcode
 * [[
 * Shortcode generator in the editor

## 安装

 1. Upload the folder `boot-modal` to the `/wp-content/plugins/` directory
 2. 通过WordPress的的“Plugins”菜单激活插件
 3. Set up the options

## 常见问题

 * How to use the plugin ?
    You just have to had a shortcode with the permalink 
   of the post you want to open in a modal. Example : [bootmodal post=”my-post”]
 * Where can i found the permalink ?
    You just have to open a post and you’ll see
   the permalink under the title of the post.

## 评价

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

### 󠀁[Very convincing and easy to use](https://wordpress.org/support/topic/very-convincing-and-easy-to-use/)󠁿

 [heltze](https://profiles.wordpress.org/heltze/) 2025 年 5 月 17 日

Sehr überzeugende und einfach einzusetzende Lösung zur modalen Anzeige von Inhalten.
| Very convincing and easy to use solution for the modal display of content.

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-3326/)󠁿

 [christer_f](https://profiles.wordpress.org/christer_f/) 2016 年 11 月 15 日

Just what I was looking for. Really easy to use, and works as it should. I have 
made a minor change in the code to take into account multi-linguale pages using 
qtranslate-X, which I will communicate to the author.

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

## 贡献者及开发者

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

贡献者

 *   [ albedo0 ](https://profiles.wordpress.org/albedo0/)
 *   [ christer_f ](https://profiles.wordpress.org/christer_f/)

「Boot-Modal」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/boot-modal/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.10

 * Corrected Shortcode XSS vulnerability.
 * Added support for Bootstrap 5.
 * Removed support for Bootstrap 3.
 * **Important**: Bootstrap 4 or higher is now required.

#### 1.9

 * Added the ability to choose the Bootstrap version (3 or 4).
 * Used CDN to deliver Bootstrap.
 * Added support for custom CSS.

#### 1.8

 * Fixed button position issue.

#### 1.7

 * Added the “dismiss” shortcode option.
 * Translation corrections.

#### 1.6

 * Added a button in the editor to generate the shortcode.
 * New shortcode options: animation, buttoncloseclass, and buttonclosetext.

#### 1.5

 * Changes by Christer:
    - Added support for multilingual pages.
    - Shortcodes are now processed in the page displayed in the modal.
    - Added the ability to send parameters in the URL for the page being opened 
      in the modal, enabling content customization. The parameter consists of a 
      url_key (parameter name) and url_value.
       Thanks to him!
 * New shortcode option: buttontext.

#### 1.4.1

 * Added changes from “Christer_f” published in the forum.
 * Minor corrections.

#### 1.4

 * Fixed Warning: substr() expects parameter 1 to be string, array given in wp-includes/
   functions.php on line 1679.

#### 1.3

 * Fixed position issue.

## 额外信息

 *  版本 **1.10**
 *  最后更新：**1 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/boot-modal/) 和 [French (France)](https://fr.wordpress.org/plugins/boot-modal/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/boot-modal)
 * 标签
 * [bootstrap](https://cn.wordpress.org/plugins/tags/bootstrap/)[modal](https://cn.wordpress.org/plugins/tags/modal/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/boot-modal/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ albedo0 ](https://profiles.wordpress.org/albedo0/)
 *   [ christer_f ](https://profiles.wordpress.org/christer_f/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://dev.juliencrego.com/boot-modal/)