Beskrivning
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"andaria-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.
Installation
- Upload the
modern-modal-nffolder to/wp-content/plugins/. - Activate the plugin in Plugins Installed Plugins.
- Add your shortcode where needed.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Modern Modal for Ninja Forms” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personer”Modern Modal for Ninja Forms” har översatts till 1 språk. Tack till översättarna för deras bidrag.
Översätt ”Modern Modal for Ninja Forms” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.0
- Initial release.
- Fully responsive modal with Ninja Forms integration.
- Basic accessibility improvements.