=== 2fox4 Custom Popup === Contributors: 2fox4oliver Donate link: https://www.paypal.com/paypalme/oliverdeppe/5 Tags: popup, gutenberg, modal, marketing, conversion Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.4.1 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html Create highly customisable, conversion-focused popup windows right inside the Gutenberg editor – no external services required. == Description == **2fox4 Custom Popup** lets you build fully custom popup windows using the native WordPress block editor. Use any standard block – headings, images, buttons, columns, lists – as well as shortcodes from third-party plugins like Contact Form 7 or WPForms. = Features = * **Gutenberg-powered** – design popups with the block editor you already know. * **Display targeting** – choose exactly where your popup appears: homepage, posts, pages. * **Smart triggers** – time delay (seconds), scroll depth (%) and exit intent. All can be combined. * **Flexible repeat control** – set the pause between re-appearances in minutes, hours or days, or show the popup on every visit. * **Entrance animations** – choose between a bounce effect, a shake effect or a simple fade-in. * **Cookie technology** – once a visitor closes or sees the popup a cookie prevents it from showing again for the configured duration. * **Modern responsive design** – fade-in with backdrop blur, mobile-optimised bottom sheet on small screens. * **Easy exit** – close via the × button, the Escape key or a click outside the popup. * **WooCommerce integration** – optional cart abandonment popup with coupon code display when a visitor tries to leave with items in the cart. = Quick Start = 1. Navigate to **Popups → New Popup**. 2. Design your content (e.g. an image on the left, text and a CTA button on the right). 3. In the right sidebar choose **Homepage** and set scroll depth to **30 %**. 4. Hit **Publish**. Done! = Links = * [More plugins by 2fox4](https://www.2fox4.de/wordpress-plugins/) * [Plugin homepage](https://www.2fox4.de/wordpress-plugins/) == Installation == 1. Upload the `2fox4-custom-popup` folder to `/wp-content/plugins/`. 2. Activate the plugin through the **Plugins** screen in WordPress. 3. Go to **Popups → New Popup** in your admin menu. 4. Design the popup content with the Gutenberg editor. 5. Configure display pages, triggers, repeat interval and animation in the sidebar panel. 6. Click **Publish**. == Frequently Asked Questions == = Can I use shortcodes from other plugins inside a popup? = Yes. Any shortcode (Contact Form 7, WPForms, etc.) works inside the popup editor just like on a normal page. = How do I stop the popup from appearing on every page load? = In the sidebar panel set **Always show** to off and configure a pause duration (e.g. 30 days). A cookie will prevent the popup from reappearing for that period. = Does the popup work on mobile devices? = Yes. On screens narrower than 600 px the popup automatically switches to a bottom-sheet layout optimised for touch interaction. = Can I show different popups on different pages? = Yes. Each popup has its own display checkboxes (Homepage, Posts, Pages). Create multiple popups with different settings. == Screenshots == 1. Popup editor with Gutenberg blocks. 2. Sidebar settings panel – display targets, triggers, repeat interval and animation. 3. Frontend popup with backdrop blur on desktop. 4. Mobile bottom-sheet layout. == External services == This plugin includes a voluntary donation link that points to PayPal (paypal.com). The link is displayed inside an admin notice ("Buy me a coffee") and does not transmit any data automatically. No connection to PayPal is made unless the site administrator clicks the link themselves. * Service provider: PayPal (Europe) S.à r.l. et Cie, S.C.A. * [PayPal Terms of Service](https://www.paypal.com/de/webapps/mpp/ua/useragreement-full) * [PayPal Privacy Policy](https://www.paypal.com/de/webapps/mpp/ua/privacy-full) == Changelog == = 1.4.1 = * Fixed unescaped output in HTML attributes (plugin check compliance). * Removed deprecated load_plugin_textdomain() call (WordPress.org handles translations automatically). * Updated "Tested up to" to WordPress 6.9. = 1.4.0 = * Added WooCommerce cart abandonment popup – shows on exit intent when the visitor has items in the cart. * Added coupon code field with styled box and copy-to-clipboard button. * WooCommerce section in sidebar only visible when WooCommerce is active. * Cart abandonment popups appear on all pages site-wide. = 1.3.1 = * Fixed image captions (figcaption) showing below image-only popups in image mode. = 1.3.0 = * Added image mode (borderless) – removes background and padding for image-only popups. * Added link URL – visitors can be redirected to a URL when clicking the popup content. * Link opens in a new tab for a seamless user experience. = 1.2.0 = * Added exit-intent trigger – popup appears when the visitor moves to leave the page. * Full internationalisation (i18n) – English source strings with German (de_DE) translation included. * Backend language switches automatically based on the user's WordPress locale. = 1.1.0 = * Added configurable repeat interval (minutes, hours, days) per popup. * Added "Always show" toggle to disable cookie-based hiding. * Added entrance animations: Bounce and Shake. * Added "Buy me a coffee" admin notice (day 7 & 21). * Renamed plugin to 2fox4 Custom Popup. * Improved Gutenberg block-style rendering inside popups. * Fixed popup showing page content instead of its own Gutenberg content. = 1.0.0 = * Initial release. == Upgrade Notice == = 1.4.0 = New: WooCommerce cart abandonment popup with coupon code display. Reduces cart abandonment with exit-intent triggered offers. = 1.3.0 = New: borderless image mode and clickable link URL for popup content. = 1.2.0 = New: exit-intent trigger and full German translation (i18n). Backend language follows your WordPress locale. = 1.1.0 = New features: configurable repeat interval, entrance animations, improved content rendering.