2fox4 Custom Popup

Plugin Banner

2fox4 Custom Popup

by 2fox4oliver

Download
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

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.

  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.
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.

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.
Back to top