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

Modern Modal for Ninja Forms

説明

A modern lightbox modal integration for Ninja Forms. Fully updated to work with the latest WordPress, PHP, and Ninja Forms versions.

Features

  • Opens any Ninja Form inside a modern, animated modal.
  • Fully responsive with mobile-friendly behavior.
  • Accessible: focus trap, keyboard navigation, and ARIA roles.
  • Simple shortcode integration.

Usage

Add the shortcode where you want your modal button to appear:

[nfmm_modal id=”1″ text_link=”Contact Us”]

Attributes:
* id — Required. The ID of your Ninja Form.
* text_link — Optional. The button text. Defaults to “Open Form”.

Accessibility

  • Uses role="dialog" and aria-modal="true".
  • Focus is trapped inside the modal while open.
  • ESC closes the modal.
  • Focus returns to the triggering button when closed.

Developer Notes

  • Styles are located in /css/modal.css.
  • Scripts are located in /js/modal.js.
  • Shortcode logic in /includes/shortcodes.php.

License

This plugin is licensed under the GPLv2 or later.
You’re free to modify and redistribute it under the same license.

インストール

  1. Upload the modern-modal-nf folder to /wp-content/plugins/.
  2. Activate the plugin in Plugins Installed Plugins.
  3. Add your shortcode where needed.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Modern Modal for Ninja Forms はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Modern Modal for Ninja Forms” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Modern Modal for Ninja Forms” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.0

  • Initial release.
  • Fully responsive modal with Ninja Forms integration.
  • Basic accessibility improvements.