=== ConvertForce: Popup, Notification Bar & Slide-in Builder ===
Contributors: imtiazrayhan, dotcamp, istiakrayhan, protibimbok
Tags: popup, popup builder, notification bar, slide-in, call to action
Requires at least: 6.1
Tested up to: 7.1
Requires PHP: 7.0
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Build popups, notification bars, and slide-in call to action campaigns with the block editor. Ready-made patterns, triggers, and targeting.

== Description ==

**ConvertForce is a popup builder for WordPress that uses the WordPress block editor.** Campaigns get their own screen under the ConvertForce menu, and you build them with the same blocks, the same styling controls, and the same sidebar you already use for posts and pages. There is no separate drag and drop builder to learn and no page builder required.

Most popup plugins hand you a locked-down drag and drop canvas with its own widgets, its own styling panel, and its own way of doing everything. ConvertForce does not. If you can build a page in WordPress, you can build a popup in ConvertForce.

= What you can build =

* Popups and lightbox modals
* Notification bars and announcement bars (top or bottom, sticky or static)
* Slide-in boxes and corner popups
* Floating buttons and sticky call-to-action buttons
* Cookie notices and cookie consent bars
* Free shipping bars and promo bars for WooCommerce stores
* Email newsletter signup popups (using Custom HTML block)
* Discount and coupon code popups
* Exit intent offers and cart abandonment popups
* Black Friday, Cyber Monday, and seasonal sale campaigns
* Important notice popups
* Support and contact prompts

= Three display types =

Every campaign starts by choosing one of three display types:

1. **Notification Bar**: a full width notification bar pinned to the top or bottom of the screen. Good for announcements, shipping offers, cookie notices, and site-wide alerts.
2. **Lightbox Popup**: a centered popup over a dimmed backdrop. Good for offers, signups, and messages that need full attention.
3. **Slide-In Popup**: a small box that slides in from a corner. Good for nudges, support prompts, and floating buttons that should not interrupt reading.

You can switch a campaign from one type to another at any time without rebuilding it.

= 12 ready-made patterns, or start from scratch =

Each display type comes with pre-built patterns you can insert and edit:

* **Notification Bar Patterns**: Cookie Bar, Free Shipping Bar, New Year Sale Bar, Sale Notification Bar
* **Lightbox Popup Patterns**: Black Friday, Important Notice, New Arrival, Simple Popup
* **Slide-in Popup Patterns**: Customer Support, Cyber Monday, Owner's Pick, Summer Sale

Every pattern is made of regular WordPress blocks, so you can change the text, colors, images, and layout with the normal editor controls.

= Triggers: decide when the popup appears =

* **Page Load** (free): show the campaign as soon as the page opens.
* **Exit Intent** (Pro): show it when the visitor moves to leave the tab or close the window.
* **Scroll Depth** (Pro): show it after the visitor scrolls a set distance down the page.
* **Time on Page** (Pro): show it after a set number of seconds.
* **User Inactivity** (Pro): show it after the visitor stops interacting for a set number of seconds.

= Display conditions: decide where it appears =

Set a campaign to **Show on** or **Hide on** specific parts of your site. Target the entire site, singular content (individual posts, pages, or custom post types), or archives (categories, tags, author and date archives). Stack multiple conditions on one campaign to get exactly the audience you want.

**Advanced Targeting (Pro)** adds 37 further conditions across 8 categories, including browser, device, operating system, referrer, URL parameters, cookies, on-page HTML, and logged-in user state.

= Behavior: decide how often it appears =

* **Display frequency**: every page load, once per session, or a custom interval in days (Pro).
* **When closed**: keep showing, hide forever, or hide for a custom number of days (Pro).

Dismissal and frequency state is stored locally in the visitor's browser. Nothing is sent to any external service.

= Full design control =

Because campaigns are built with blocks, you get real design control instead of a handful of preset themes:

* Padding, margin, border, and border radius
* Background color, gradient, and image
* Box shadow and backdrop blur
* Minimum height and maximum width
* Flex or grid layout with justification, alignment, and item gap
* Separate settings for desktop, tablet, and mobile, with a device preview in the editor
* Position control (top, center, bottom) with pixel offset
* Full close button control: icon or text, icon size, floating or static, corner placement, and offsets
* Optional close on backdrop click
* Text (CF) block with font family control including Google Fonts

= Lightweight and privacy friendly =

ConvertForce itself adds no tracking pixels and sends no visitor identifiers anywhere. Dismissal and frequency state stays in the visitor's browser. The one exception is optional: if you use the Text (CF) block and select a Google Font, that font loads from Google's servers like any other Google Font on your site.
= Built with accessibility in mind =
* Popups use proper dialog semantics so screen readers announce them correctly
* Focus moves into the campaign when it opens and returns to where the visitor was when it closes
* Visitors can close any campaign with the Escape key or the close button
* Animations respect the visitor's reduced motion setting
* Because campaigns are built from WordPress blocks, the accessibility built into those blocks carries over

= Works with what you already use =

* Any block theme or classic theme
* Any core WordPress block, plus blocks from other block plugins
* Email and form services, embedded with the core Custom HTML block
* WooCommerce stores, for sale bars, shipping bars, and promo popups
* Caching and performance plugins

= Free vs ConvertForce Pro =

**Free includes**: all three display types, all 12 patterns, the full block-based designer, responsive controls, page load trigger, display conditions, and basic frequency and dismissal rules.

**Pro adds**: exit intent, scroll depth, time on page, and user inactivity triggers, custom display frequency and custom hide duration, and 37 advanced targeting conditions.

[Learn more about ConvertForce Pro](https://convertforce.com/pricing/) | [Documentation](https://convertforce.com/docs/)

= Who ConvertForce is for =

* Bloggers who want a newsletter popup that matches their site design
* WooCommerce stores running shipping bars, discount popups, and seasonal sales
* Agencies that want clients to edit popup content themselves without a new interface to learn
* Anyone who wants a fast, block-native alternative to heavy popup plugins
* Anyone who wants a call to action that appears at the right moment instead of sitting in a side

No coding needed. Install it, pick a display type, choose a pattern, set a trigger, and publish.

== Frequently Asked Questions ==

= What is ConvertForce? =
ConvertForce is a free WordPress popup plugin that lets you create popups, notification bars, and slide-in boxes using the WordPress block editor. A Pro version adds advanced triggers and targeting.

= Does ConvertForce require a page builder? =
No. It uses the built-in WordPress block editor. You do not need Elementor, Divi, Beaver Builder, or any other page builder.

= Does it work with the Classic Editor? =
No. ConvertForce is built on the block editor, so the Classic Editor is not supported.

= Does it work with block themes and full site editing? =
Yes. ConvertForce is fully block-based and works with block themes, classic themes, and full site editing.

= Where do I create a popup? =
Go to ConvertForce > New Campaign in your WordPress admin. Each campaign opens in its own editor built on the block editor. Popups are not created from inside the post or page editor, which keeps them separate from your content and lets you show one campaign across many pages.

= Can I create exit intent popups? =
Yes, exit intent is available in ConvertForce Pro. The free version includes the page load trigger.

= Can I create a scroll triggered popup? =
Yes. Scroll depth, time on page, and user inactivity triggers are all part of ConvertForce Pro.

= Can I collect email addresses? =
Yes. You can drop in a form block from your form plugin (WPForms, Fluent Forms, Bit Forms, and so on), paste a shortcode, or add your email service's embed code with the core Custom HTML block. All three work the same inside a campaign as they do on a page.

= Does the notification bar push content down or cover it? =
ConvertForce bars can push your page content down instead of overlaying it. Your header, sticky menu, and navigation stay fully visible and nothing gets hidden behind the bar. When a visitor closes the bar, the page moves back up to its normal position. This is one of the main things that separates ConvertForce from bar plugins that simply float over the top of your site.

= Can I create a cookie consent bar? =
Yes. There is a Cookie Bar pattern included, and you can style and target it however you need. ConvertForce handles the display side of a cookie notice, not consent logging or script blocking.

= Can I show a popup on only one page or one category? =
Yes. Display Conditions let you show or hide a campaign on the entire site, on singular content, or on archives, and you can stack multiple conditions on one campaign.

= Can I show different popups on desktop and mobile? =
You can style any campaign differently per device using the responsive controls. Targeting by device type as a display condition is part of Advanced Targeting in Pro.

= Will it slow down my site? =
No. ConvertForce only loads the assets a campaign needs and adds no third-party scripts.

= Does ConvertForce track my visitors? =
No. Dismissal and frequency data stays in the visitor's browser. Nothing is sent to DotCamp or any third party.

= Is it compatible with caching plugins? =
Yes. ConvertForce is built to work with common caching and performance plugins out of the box.

= Is ConvertForce accessible? =
Campaigns can be closed with the Escape key as well as the close button, and because they are built from core WordPress blocks, the accessibility built into those blocks carries over.

= Can I use any block inside a popup? =
Yes. Core WordPress blocks, blocks from other plugins, and shortcodes all work inside a campaign.

= Is ConvertForce free? =
Yes. The free version on WordPress.org includes all three display types, all patterns, the full designer, and display conditions. ConvertForce Pro adds advanced triggers and 37 targeting conditions.


== Screenshots ==

1. Popup design using block editor.
2. Pre-made templates for quick start.
3. Popup/bar settings panel.
4. Display trigger configuration.
5. Published bar and popup on the frontend.

== Changelog ==

= 1.2.0 =
* NEW: Text block with Google Fonts font family control
* NEW: Any block can now be added inside a campaign, including blocks from other plugins
* IMPROVE: Accessibility - popups expose dialog semantics, trap and restore focus, announce to screen readers, and respect reduced motion
* IMPROVE: Renamed the root block to ConvertForce and clarified campaign type labels
* IMPROVE: Updated menu icon
* FIX: Pro upsell no longer shows on admin pages for Pro users
* FIX: Added scroll view for large lightbox content

= 1.1.0 =
* NEW: Blur control for lightbox backdrop
* IMPROVE: Redesigned toggle group and popped-up controls
* IMPROVE: Updated patterns
* FIX: Only do full width on figures having iframe
* FIX: Title encoding in patterns
* FIX: Resolve theme spacing variables to values in patterns

= 1.0.0 =
* NEW: Freemius SDK integration for licensing, updates, and add-on support
* NEW: Accessibility - Escape key closes popups
* [PRO] NEW: Added advanced targeting
* IMPROVE: Updated patterns
* IMPROVE: Redesigned admin pages
* IMPROVE: Improved slide-in default settings
* FIX: Figure width becoming 0 inside flexbox
* FIX: Flex layout editing experience when aligned left
* FIX: Button width in flex mode
* FIX: Redirect after install
* FIX: Update props to match expected design when changing popup type

= 0.0.9 =
* IMPROVE: Responsive controls - per-device
* IMPROVE: Added preview for different devices
* IMPROVE: Welcome page for new users
* IMPROVE: Added max width control for bars
* IMPROVE: Added static position option for closer
* FIX: Closer escaping popup on static mode
* FIX: Closer misaligning in editor when new item is added
* FIX: Z-index and fill max width
* FIX: Default sizes and horizontal position for non-floating bars

= 0.0.8 =
* FIX: Security fixes

= 0.0.7 =
* IMPROVE: Added display conditions

= 0.0.6 =
* IMPROVE: Make center the default alignment
* IMPROVE: Remove default margin from paragraph
* IMPROVE: Updated patterns

= 0.0.5 =
* FIX: Bar-popup's position mismatch in editor & frontend
* IMPROVE: Added pre-built patterns option
* IMPROVE: Moved closer control in block section
* IMPROVE: Better viewport sizing in editor

= 0.0.4 =
* FIX: Height control was not visible
* IMPROVE: Added layout controls for conversion block

= 0.0.3 =
* FIX: prefix ajax action with `convertforce`
* FIX: Closer font-style not applying in the frontend
* IMPROVE: Updated initial pop-up type picker design

= 0.0.2 =
* IMROVE: Re-organize popup controls
* FIX: Core block styles not loading properly in the frontend
* FIX: Wordpress plugin review issues

= 0.0.1 =
* Initial release
