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. Activate the plugin through the ‘Plugins’ menu in WordPress
  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.

評價

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.
閱讀全部1個評價

貢獻者及開發者

“Boot-Modal” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Boot-Modal 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Boot-Modal 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.