=== WP Popups - WordPress Popup builder ===
Contributors: timersys
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K4T6L69EV9G2Q
Tags:  wp popups,popups,wp popup,popup builder,popup maker
Requires at least: 3.6
Tested up to: 6.9.2
Stable tag: 2.2.0.7
Requires PHP: 5.7
Text Domain: wp-popups-lite
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

WP Popups is the best popup maker for WordPress. Easy but powerful plugin with display filters, scroll-triggered popups, and Gutenberg block editor.

== Description ==

WP Popups is the best popup maker for WordPress. With the easy and intuitive template builder you will be able to create and customize your popup with just a few clicks. No coding skills needed!

Is the perfect solution to show important messages such as EU Cookie notice, increase your social followers, add call to actions, increase your mailing lists by adding a form like mailchimp or to display any other important message in a simple popup.

https://www.youtube.com/embed/_yJ-xHVOQYw

It's compatible with the major form plugins like :
* Wp Forms ( recommended )
* Gravity Forms
* Ninja Forms
* Contact form 7
* USP Forms
* Infusion Soft
* Jetpack
* Mailpoet
* Mailchimp for WP
* Postmatic
* Any generic form

There are multiple display filters that can be combined:

* Show popup on specific pages, templates, posts, etc
* Filter user from search engines
* Filter users that never commented
* Filter users that arrived via another page on your site
* Filter users via roles
* Show popup depending on referrer
* Show popup to logged / non logged users
* Show or not to mobile, desktop and tablet users
* Show or not to bots / crawlers like Google
* Show or not depending on query strings EG: utm_source=email
* Show depending on post type, post template, post name, post format, post status and post taxonomy
* Show depending on page template, if page is parent, page name, page type

= Available Settings =

* Choose from 5 different popup locations
* Trigger popup after X seconds , after scrolling % of page, after scrolling X pixels
* Auto hide the popup if the user scroll up
* Change font color, background, borders, etc
* You can also configure background opacity.
* Days until popup shows again
* Shortcodes for social networks available

> <strong>Premium Version</strong><br>
>
> Check the **new premium version** available in ([https://wppopups.com](https://wppopups.com?utm_source=readme%20file&utm_medium=readme%20links&utm_campaign=Popups%20Premium))
>
> * Beautiful optin forms for popular mail providers
> * Exit Intent technology
> * AJAX login popups
> * Popup scheduler
> * Popups Geolocation
> * Currently supporting MailChimp, Aweber, Postmatic, Mailpoet, Constant Contact, Newsletter plugin, Activecampaign, InfusionSoft, etc
> * New popup positions: top/bottoms bars , fullscreen mode, after post content
> * A/B testing. Explore which popup perform better for you
> * More Display Rules: Show after N(numbers) of pages viewed
> * More Display Rules: Show popup at certain time / day or date
> * More Display Rules: Show/hide if another popup already converted
> * Track impressions and Conversions of social networks and forms like CF7 or Gravity forms
> * Track impressions and Conversions in Google Analytics ande define custom events
> * Data sampling for heavy traffic sites
> * Background images
> * 40 New animations effects
> * More trigger methods
> * Timer for auto closing
> * Ability to disable close button
> * Ability to disable Advanced close methods like esc or clicking outside of the popup
> * Premium support
>

WP Popups template builder it's based on the famous [WPForms plugin](https://wordpress.org/plugins/wpforms-lite/), the best form plugin for WordPress!

== Installation ==

1. Unzip and Upload the directory 'wp-popups-lite' to the '/wp-content/plugins/' directory

2. Activate the plugin through the 'Plugins' menu in WordPress

3. Go to Popups menu and add as many popups as needed

== Screenshots ==

1. Popups Front end with default settings
2. Popups Back end - visual editor
3. Popups Back end - display rules and options
4. Popups Back end - appearance

== Frequently Asked Questions ==

= How to open a popup by pressing a link or button ? =
You can use the popup trigger class to open popups by clicking on any element. Check this [tutorial](https://wppopups.com/docs/how-to-open-a-popup-with-a-button-or-any-html-element/)

= How can I change other styles of the popup like padding, rounded corners, etc ? =
Sure thing, change our [styling guide](https://wppopups.com/docs/how-to-change-popup-appearance/)

= If I have multiple Gravity forms on my page, form is not working =
On certain occasions multiple GF instances can cause problems. There is a plugin that fixes that https://wordpress.org/plugins/gravity-forms-multiple-form-instances/


= Can I attach my custom js events to popups plugin? =
Yes you can attach to any of this events . id = Popup id
`jQuery(document).on('wppopups.popup_opened',function(e,id){ ... });
 jQuery(document).on('wppopups.popup_closed',function(e,id){ ... });
 jQuery(document).on('wppopups.popup_converted',function(e,id){ ... });`
 jQuery(document).on('wppopups.form_submitted',function(e,id){ ... });`

== Changelog ==
= 2.2.0.7 =
* Added user agent rules and contains operators

= 2.2.0.6 =
* Packing previous commits again (2.2.0.5|2.2.0.4), they were missing from svn

= 2.2.0.5 =
* Added more allowed tags to our kses posts function

= 2.2.0.4 =
* Fixed security issue where a malicius admin could get content for other posts that are not related to wppopups 
* Fixed issue with keyword url

= 2.2.0.3 =
* Fixed issue with iframe not being allowed in content
* Fixed issue with rules for weekday failing
* Fixed issue with Browser rule not working

= 2.2.0.2 =
* New positions
* Fix for video elements
* Fix for popups to display instantaneous not showing randomly
* Fix php 8 compatibility errors
* Fixed vulnerability where site PATH can be disclosed to be used later by a malicius user (ty stealthcopter - Wordfence)

= 2.2.0.1 =
* Hotfix for closing button with Gutemberg
* Hotfix for missing Gutemberg styles in the editor

= 2.2 =
* Added Gutenberg blocks templates to fully customize your popups with WordPress content editor

= 2.1.5.6 =
* Added filter to avoid open popup again on form submissions
* Fixed php8 undefined error
* Fixed issue with recaptcha iframe being removed
* Missing commit for CF7
* Removed old code for UA

= 2.1.5.5 =
* Forminator close on conversion
* Shadow text fix

= 2.1.5.4 =
* Forminator fix

= 2.1.5.3 =
* Fixed issue with CF7 closing the popup

= 2.1.5.2 =
* Fixed issued with Contact form 7

= 2.1.5.1 =
* Missing one commit on previous version

= 2.1.5 =
* Fixed error with PHP 8
* Security fixes

= 2.1.4.9 =
* Fixed minor PHP issues
* Added alpha to shadow color

= 2.1.4.8 =
* Fixed security issue where an user with low role could perform Stored Cross-Site Scripting

= 2.1.4.6 =
* Minor bugfixes
* Global rules to avoid repetition

= 2.1.4.5 = Oct 12, 2021
* Fixed error with missing license file

= 2.1.4.4 = Aug 30, 2021
* Fix issue where popups with complex rules are showing for a moment before they are removed.

= 2.1.4.3 = Aug 27, 2021
* Removed nonce checks in front end to avoid caching issues
* Core updates for premium version

= 2.1.4.2 = June 16, 2021
* Fix for gravity forms when using multiple forms
* Fix for enable stats not working on new installations until settings where saved again

= 2.1.4.1 = April 26, 2021
* Fix: Removed jquery deprecated function
* Fix: Some woo rules where still not working
* Fix: Removed Browser library from composer to be able to use the latest version without PHP limit

= 2.1.4 = April 7, 2021
* Fixes with woocommerce rules used with others rules
* Feature: added box radius to the popup
* Fix: one library was updated and requesting PHP7.2 support so we limited the update

= 2.1.3.5 = March 3, 2021
* Php version set to 5.6.1

= 2.1.3.3 = March 3, 2021
* Fixes with live editor no updating content
* Fix notices and undefined index error messages

= 2.1.3.2 = Feb 12, 2021
* Fix with A/B test popups not showing in certain conditions

= 2.1.3.1 = Feb 11, 2021
* Fix where addons couldn't be updated
* Fix latest changes in javascript were not properly packed with release

= 2.1.3 = Feb 4, 2021
* Fix: Taxonomy rules now also works on archives pages
* Fix: PHP 8 compatibility fix
* Feature: Woo order confirmation rule

= 2.1.2 = December 14, 2020
* Fix: Woo function addded in 2.1.1
* Fix: jQuery deprecated function
* Fix: Incompatibility issue with some themes
* Core updates for premium

= 2.1.1 = December 2, 2020
* Feature: Hidden field for optin fields
* Feature: Woocommerce rules
* Fix: Updated library that was preventing constant contact to work
* Fix: Improved performance on popups index page where stats are being used
* Fix: Review link and minor bugfixes

= 2.1.0.1 = November 12, 2020
* Fix: Issue where popups are showing on pages that they shouldn't
* Fix: Upgrader for old optin fields will be imported to new format

= 2.1 = November 2, 2020
* Feature: Multiple fields can be added now to Optins fields with a new powerful api
* Feature: Bottom text in optin forms
* Feature: Ajaxless popups. Will run faster , save resources when using regular rules
* Fix: responsive images in wp 5.5
* Dev: Hook to disable preview page

= 2.0.3.7 = Sept 17, 2020
* Fixed responsive images error in wp > 5.5
* Fixed browser rule error
* Added hook to disable preview page

= 2.0.3.6 = Aug 27, 2020
* Fix for popup not closing when overlay is clicked (not included on previous)
* Fix for clicked popup triggering error

= 2.0.3.5 = Aug 24, 2020
* Fix for popup not closing when overlay is clicked

= 2.0.3.4 = Aug 21, 2020
* Triggered by class/click popups NOT LONGER IGNORE COOKIES, now they need to be set to 0
* Fixed close button moving page to top

= 2.0.3.3 = July 30, 2020
* Fix on manually trigger popups when class is on parent element
* Added Buddypress Rules
* Fix error with close button on certain themes
* Cookies set to 0 days by default
* Fix issue with browser match rule

= 2.0.3.2 = Jul 7, 2020
* Fixed Conversion with external url forms
* Added yikes mailchimp form support
* Added BP template tags

= 2.0.3 = April 20, 2020
* Core update for extensions
* Update FR language files

= 2.0.2.1 = April 20, 2020
* Builder works better in mobile devices
* Added font family and size to content editor
* Removed Welcome email in Mailchimp as was deprecated by provider

= 2.0.2 = April 8, 2020
* Now addons can be purchased for free version
* Added responsive image attributes
* Fixed gravity forms conversion with redirections

= 2.0.1.4 = March 2, 2020
* Added missing crawlerdetect library to lite
* Added IE 11 compatibility

= 2.0.1.3 = Feb 19, 2020
* Hotfix for bug introduced in previous version

= 2.0.1.2 = Feb 19, 2020
* Performance: Increased overall performance, all popups are not loaded into DOM anymore more and increased speed of ajax

= 2.0.1.1 = Feb 7, 2020
* Fix: compatibility issue with WP less than 5
* Fix: Gravity forms conversion with redirects

= 2.0.1 = Jan 28, 2020
* Feature: new blurry background
* Fix: Move styles blocks to head
* Fix: Error on certain pages where using != post type rules
* Dev: Added more filters for devs

= 2.0.0.9 =
* Fixed issue with popup preview
* Fixed alignment in rules

= 2.0.0.8 =
* Fixed issue with centering and slide animation
* Added option to remove overlay
* Fixed issue with width in mobile

= 2.0.0.7 =
* Fixed issue with centered popups

= 2.0.0.6 =
* Added auto hide for scroll popups
* Multiple popups at the same time
* WPML and Polylang support

= 2.0.0.5 =
* Fixed importer giving errors with mb_encoding_string function
* Fixed popup height on safari iphone with url bar
* Fixed custom css not displaying some rules

= 2.0.0.4 =
* Compatibility with WordPress 4.x

= 2.0.0.3 =
* Fixed test mode
* Fixed top/bottom bars style issues
* Added SE_sv language
* Fixed importer error with utf8 strings

= 2.0.0.2 =
* Added publish / save buttons
* Fixed issue with HTML dissapearing from popup
* Optin success message replace original content now instead of being appended

= 2.0.0.1 =
* Fixed some issues with importer
* Fixed some events not firing for close

= 2.0.0 =
* Popups changed into WP Popups, totally new version released
