このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

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 の「プラグイン」メニューからプラグインを有効化してください
  3. Set up the options

FAQ

  • 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.9

  • Add the possibility to choose the version of Bootstrap (3 or 4)
  • Use CDN to deliver Bootstrap
  • Add Custom CSS

1.8

  • Correct issue of position for the button

1.7

  • Add the dismiss shortcode option
  • Translation corrections

1.6

  • Add a button in editor to generate the shortcode
  • New shortcode option : animation, buttoncloseclass and buttonclosetext

1.5

  • Changes by Christer to :
    • take into account multi-lingual pages
    • process shortcodes in the page appearing in the modal
    • make it possible to send a parameter in the URL for the page being opened in the modal
      This makes it possible to customize the content of the page
      The parameter consists of a url_key (parameter name) and url_value
      Thanks to him !!
  • New shortcode option : buttontext

1.4.1

  • Add modification from “Christer_f” published in forum
  • Minor corrections

1.4

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

1.3

  • Correct issue of position