=== Boxzilla - WordPress Popup Builder === Contributors: Ibericode, DvanKooten, hchouhan, lapzor Donate link: https://boxzillaplugin.com/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=donate-link Tags: popup builder, popups, slide-in, call to action, modal Requires at least: 4.6 Tested up to: 6.9 Stable tag: 3.4.8 License: GPL-3.0-or-later License URI: http://www.gnu.org/licenses/gpl-3.0.html Requires PHP: 7.4 Create WordPress popup and slide-in boxes for forms, offers, notices, and calls to action == Description == Boxzilla is a WordPress popup builder for adding targeted popups, slide-ins, and call-to-action boxes to your site. Show a box after a visitor scrolls, waits on the page, views multiple pages, clicks a link, or reaches a specific page element. Each box can contain any WordPress content, including shortcodes from form plugins. Use Boxzilla for newsletter sign-up forms, content upgrades, product offers, important notices, surveys, or any other message that should appear at the right moment without taking over the whole page. == What you can build with Boxzilla == * **Targeted WordPress popups** - show boxes only on the posts, pages, or conditions you choose. * **Scroll-triggered slide-ins** - open a box after a visitor scrolls past a percentage of the page or reaches a specific element. * **Timed call-to-action boxes** - show a message after a set number of seconds on the page. * **Pageview-based prompts** - wait until a visitor has viewed several pages before showing a box. * **Click-triggered modals** - open a box from a link, button, or URL hash such as `#boxzilla-94`. * **Flexible content** - add text, images, forms, shortcodes, embeds, or custom HTML to any box. * **Visual appearance controls** - choose the position, animation, colors, and box style from the WordPress admin. * **Dismissal control** - decide how long a box should stay hidden after a visitor closes it. * **Small front-end script** - Boxzilla adds only 6 kB of JavaScript to your website. == Works with your forms and content == Boxzilla works with plugins that output shortcodes, including [Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/). Add the shortcode to your box content, choose when the box should appear, and publish it. == Premium add-ons == The core Boxzilla plugin is free. Paid add-ons are available for advanced triggers and integrations, including exit-intent popups and time-on-site targeting. [Browse Boxzilla add-ons](https://boxzillaplugin.com/add-ons/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description) == Helpful links == * [Read more about Boxzilla](https://boxzillaplugin.com/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description) * [View the Boxzilla demo site](https://boxzillaplugin.com/demo/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description) * [Read the Boxzilla Knowledge Base](https://boxzillaplugin.com/kb/) * [Get community support on WordPress.org](https://wordpress.org/support/plugin/boxzilla) If you are a [Boxzilla Premium customer](https://boxzillaplugin.com/pricing#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description), use the premium support email for a faster reply. == Installation == 1. In your WordPress dashboard, go to Plugins > Add New. 2. Search for "Boxzilla". 3. Click Install Now, then Activate. 4. Go to Boxzilla > Add New to create your first popup or slide-in box. 5. Add your content, choose display rules, adjust the appearance settings, and publish the box. To install manually: 1. Download the Boxzilla ZIP file from WordPress.org. 2. Go to Plugins > Add New > Upload Plugin. 3. Upload the ZIP file and click Install Now. 4. Activate the plugin. 5. Go to Boxzilla > Add New to create your first box. Optional: install [Boxzilla add-on plugins](https://boxzillaplugin.com/add-ons/) for advanced triggers and integrations. == Frequently Asked Questions == = What does this WordPress popup plugin do? = Boxzilla lets you create popup, slide-in, modal, and call-to-action boxes for WordPress. You choose the content, page targeting, trigger, animation, and dismissal behavior. = Can I show a form inside a Boxzilla popup? = Yes. Boxzilla works with shortcode-based form plugins, including [Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/). Add the form shortcode to the box content and publish the box. = Can I open a popup after someone clicks a link or button? = Yes. Link to the box ID from any link or button. For example, if your box ID is 94, use this link: ` Open Box ` = Can I open a box as soon as a page loads? = Yes. Configure this in the box settings, or add a URL hash such as `#boxzilla-13` to the page URL. Replace `13` with the ID of the box you want to show. = Can I customize the popup design? = Yes. Boxzilla includes appearance settings for the popup position, animation, and style. You can also add custom CSS when you need more control. ` .boxzilla { } /* all boxes */ .boxzilla-5 { } /* only the box with ID 5 */ ` = Will Boxzilla slow down my website? = Boxzilla adds only 6 kB of JavaScript to the front end. The script is built for small, targeted popups and slide-ins. = How do I disable automatic paragraphs in box content? = WordPress content filters are added to the `boxzilla_box_content` filter hook. You can remove them with this code: ` remove_filter( 'boxzilla_box_content', 'wptexturize' ); remove_filter( 'boxzilla_box_content', 'convert_smilies' ); remove_filter( 'boxzilla_box_content', 'convert_chars' ); remove_filter( 'boxzilla_box_content', 'wpautop' ); remove_filter( 'boxzilla_box_content', 'do_shortcode' ); remove_filter( 'boxzilla_box_content', 'shortcode_unautop' ); ` == Screenshots == 1. A Boxzilla WordPress popup with a newsletter sign-up form. 2. A styled Boxzilla popup showing a different modal design. 3. The Boxzilla popup editor, where you manage content, triggers, targeting, and appearance settings. == Changelog == = 3.4.8 = * Fix: Ensure navigation links have an `href` attribute before filtering. * Fix: Normalize request URLs for URL matching by keeping trailing slashes consistent and removing tracking query parameters. * Enhancement: Match the dismissal cookie expiration time when a form inside a box is submitted. * Deprecated: Remove `Boxzilla.off` from the JavaScript API because it was a no-op and unused. = 3.4.7 = * Enhancement: Add an uninstall script to clean up all database entries from the plugin. * Fix: Correct missing closing element in box rule settings. * Fix: Remove duplicate `class` attribute on the settings page wrapper element. * Fix: Remove duplicate `id` attribute on the box width input field. * Fix: Resolve a deprecation in the `get_terms()` call. * Enhancement: Improve types, PHPDoc, and unused code cleanup. = 3.4.6 = * Fix: Fire the `box.interactions.link` event for image clicks and nested elements inside links. = 3.4.5 = * Enhancement: Mark an option as autoloaded for a minor performance gain. * Enhancement: Replace `strtotime('now')` with `time()`. = 3.4.4 = * Enhancement: Run a periodic compatibility check with WordPress nightly.