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.