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.

Функции

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

Применение

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».

Доступность

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

Примечания для разработчиков

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

Лицензия

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

  • Первый выпуск.
  • Fully responsive modal with Ninja Forms integration.
  • Basic accessibility improvements.