=== Nsol Popup Builder ===
Contributors: naumananwar
Donate link: https://profiles.wordpress.org/naumananwar/
Tags: popup, popup maker, modal, popup builder, popup plugin
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Design and display beautiful popups with images, videos, forms, or any custom content. Control display rules per page, session, or time frequency.

== Description ==

Nsol Popup Builder is a lightweight, user-friendly popup builder for WordPress. Create unlimited popups with any content — images, videos, contact forms, email opt-ins, or custom HTML.

= Features =

* **Any Content** — Use the WordPress editor to add anything: text, images, videos, forms, shortcodes.
* **Smart Triggers** — Show popups on page load, after a delay, or when the user scrolls.
* **Frequency Control** — Once per session, once per hour, once per day, or always show.
* **Page Targeting** — Show on all pages, home page, posts, pages, or specific pages.
* **Customizable Design** — Choose position (center, corners), width, background color, and content padding.
* **WPML Compatible** — Fully compatible with WPML for multilingual popups.
* **Cookie-Based** — Frequency is tracked via cookies (with JS fallback).
* **Lightweight** — No bloat, minimal CSS/JS, performs well.

== Installation ==

1. Upload the `nsol-popup-builder` folder to `/wp-content/plugins/`.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to 'Popups' in your admin menu and click 'Add New'.
4. Add your content in the editor, configure display settings in the meta box below, and publish.

== Frequently Asked Questions ==

= Can I add a contact form to a popup? =

Yes. Just paste your form shortcode (e.g., Contact Form 7, Gravity Forms) into the popup editor.

= Can I show different popups on different pages? =

Yes. Under the 'Where to Show' tab, uncheck 'All Pages' and select the specific page types or pages.

= How does the frequency control work? =

The plugin sets a cookie when a popup is shown. For 'Once per session' the cookie expires when the browser closes. For 'Once per hour' or 'Once per day' the cookie expires after the set time.

= Is WPML supported? =

Yes. Nsol Popup Builder includes a `wpml-config.xml` file and uses WPML's API to show popups in the current language only.

== Screenshots ==

1. Popup editor with tabbed settings interface.
2. Frontend popup example.

== Changelog ==

= 1.0.0 =
* Initial release.
