=== Popup addon for Ninja Forms ===
Contributors: aman086, webholics
Tags: ninja forms, popup, modal, newsletter, contact form
Requires at least: 4.4
Tested up to: 6.8
Stable tag: 3.5.2
License: GPLv2 or later

Popup/Modal addon for Ninja Forms. Create beautiful popups using Ninja Forms for newsletters, login, registration forms.

== Description ==

Popup Addon for Ninja Forms allows you to show any Ninja Forms in Popup/Modal.
You can create beautiful popups with live preview in customizer.
It allows you add additional content before &amp; after the form in popup.
Popup can be triggered by click or can be opened on page load using the shortocde.


==Top Features:==
* Option to set Popup Cookie to hide it after opened certain number of times.
* Option to set Popup Animations.
* Option to set Popup Container Width for mobile.
* Option to set Popup Container Height for mobile.
* Option to set Overlay color.
* Option to set Overlay opacity.
* Option to set Popup Container opacity.
* Option to set Popup Container background color.
* Option to set Popup Container Padding.
* Option to set Popup Container Border.
* Option to set Popup Container Rounded Corners.
* Option to set Popup Container Width.
* Option to set Popup Container Height.
* Option to open popup by any link using class or ID.

Get more features in [Pro version](https://webholics.org/downloads/popup-add-on-for-ninja-forms-pro/?utm_source=wordpress-plugin-repo&amp;utm_medium=popup-addon-for-ninja-forms&amp;utm_campaign=popup-addon-for-ninja-form-lite-version)
* Advanced Animations
* Exit Intent
* Hide Popup on Mobile/Desktop.
[Get Popup Addon for Ninja Forms PRO!](https://webholics.org/downloads/popup-add-on-for-ninja-forms-pro/?utm_source=wordpress-plugin-repo&amp;utm_medium=popup-addon-for-ninja-forms&amp;utm_campaign=popup-addon-for-ninja-form-lite-version)

== Installation ==
To install Popups for Ninja Forms, follow these steps:

* Download and unzip the plugin
* Upload the entire ninja-forms-popup/ directory to the /wp-content/plugins/ directory
* Activate the plugin through the Plugins menu in WordPress

== Frequently Asked Questions ==

= How to use it? =

Install it and edit/create a new NF Popup. Select the Ninja Form which you would like to show inside popup.
Save the settings &amp; then design the popup.
Add the shortocde to Page where you want to show popup.

== Screenshots ==

1. Add New Popup Settings
2. Popup Overlay Setting with Live Preview Designer
3. Popup Container Setting with Live Preview Designer

== Changelog ==
3.5.2 (4th November 2025)
(Security Fix)
- Fixed XSS (Cross-Site Scripting) vulnerability in popup customizer fields
- Added proper output escaping for CSS values (width, height, colors, margins, padding, borders)
- Implemented esc_attr() for all CSS context outputs to prevent code injection
- Implemented esc_js() for JavaScript string outputs
- Enhanced security for popup container settings and overlay properties


3.5.1 (21 July 2025)
- Fixed Fatal error on shortcode is popup is deleted.

3.5 (24 June 2025)
(Security Fix)
- Fixed XSS (Cross-Site Scripting) vulnerability in admin settings
- Added proper input sanitization and output escaping for all form fields
- Enhanced security validation for trigger class/ID field
- Improved data validation before saving to database

3.4 (3rd Jan 2021)
(Fix)
- Compatibility with WordPress 5.6

3.3 (3rd Sep 2020)
(Fix)
- Compatibility with WordPress 5.5

3.2.6 (21 March 2018)
(Fix)
- Fixed delay input box not showing if trigger is set to auto open.
- Fixed a bug which prevented popup to open if Hide popup value  is set.

3.2.5 (9 March 2018)
(Fix)
- Fixed ID not working incase trigger name is set using ID.

3.2.4 (8 March 2018)
(Fix)
- Added example tigger button code below shortcode in admin.
- Optimized code.

3.2.3 (12 Jan 2018)
(New)
- Added icon for NF Popup Menu in admin.
(Fix)
- Fixed mobile width/height not working.

3.2.2 (10 Jan 2018)
(New)
- Added option to hide popup after closed set number of times.
- Released new extension for advanced animations.

3.2.1 (4 Jan 2018)
(New)
- Added animations for popup.
- Added option to set width &amp; height for mobile.

3.2 (1 Jan 2018)
- Added license page for addons.
- Exit Intent Addon is live now.

3.1.4 (25 Dec 2017)
- Fixed fatal error.

3.1.3 (22 Dec 2017)
- Fixed auto open not working.

3.1.2 (22 Dec 2017)
- Fixed "Click" text showing up in frontend.
- Added extensions page

3.1.1 (17 Nov 2017)
- Added filters for trigger type.

3.1 (12 Sep 2017)
- Fixed Popup border not working in some cases.

3.0.1 (9 Sep 2017)
- Fixed Footer text in popup not showing up

3.0
Initial launch

== Upgrade Notice ==
3.0
Initial launch