Boxzilla for WordPress

Boxzilla is a lightweight plugin for adding flexible call-to-actions to your WordPress site. Boxes can slide or fade in at any point and can contain whatever content you like.

Some of Boxzilla’s features

  • Boxes can contain any content you like.
  • Various box triggers:
    • Scroll percentage
    • Reaching a certain page element
    • X amount of time on the page
    • Exit Intent (premium)
    • Time on Site (premium)
    • Manually by clicking a link or button
  • Customizable box position on the screen.
  • Various visibility animations.
  • Advanced page targeting.
  • Full control over how long (and whether) boxes should stay hidden.
  • Customizable box appearance using a simple & intuitive interface.
  • Mobile optimized.

Read more about Boxzilla.

This is the successor of the old Scroll Triggered Boxes plugin.


Please have a look at the Boxzilla KB.


There’s a Boxzilla demo with some examples.

Add-on plugins

The core Boxzilla plugin is and always will be free. Additional advanced functionality is available through several add-ons. Not only do they extend the core functionality of the plugin, they also help to fund further development of the core (free) plugin.

Browse available add-ons for Boxzilla.

Contributing and reporting bugs=

You can contribute to Boxzilla on GitHub.


Please use the plugin support forums for community support where we try to help all users.

If you think you’ve found a bug, please report it on GitHub.

If you’re on one of the available premium plans, please use the support email for a faster reply.


  • A scroll triggered box with a newsletter sign-up form.
  • Another scroll triggered box, this time with social media sharing options.
  • A differently styled social triggered box.


Installing the plugin

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Boxzilla and click “Install now”
  2. Alternatively, download the plugin and upload the contents of to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin.

Creating a Boxzilla box

  1. Go to Boxzilla > Add New
  2. Add some content to the box
  3. (Optional) customize the appearance of the box by changing the Appearance Settings

Additional Customization

Have a look at the frequently asked questions section for some examples of additional customization.


What does this plugin do?

Have a look at the Boxzilla demo site.

How to display a form in the box?

Boxzilla will work with any plugin that offers shortcodes, like MailChimp for WordPress.

Can I have a box open after clicking a certain link or button?

Sure, by linking to the box element.

Example (box ID is 94 in this example)

<a href="#boxzilla-94">Open Box</a>
Can I have a box to open right after opening a page?

Sure, just include boxzilla- followed by the box ID in the URL.

Example (box ID is 94 in this example)
Can I customize the appearance of a box

Boxzilla comes with a simple interface for customizing most box colors & borders. You can apply your own CSS by utilizing any of the following element selectors.

.boxzilla { } /* all boxes */
.boxzilla-5 { } /* box with ID 5 */
I want to disable auto-paragraphs in the box content

All default WordPress filters are added to the stb_content filter hook. If you want to remove any of them, add the respectable line to your theme its functions.php file.

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' );
I want to make it impossible to close a box

add_filter( ‘boxzilla_box_options’, function( $opts, $box ) {
$opts[‘closable’] = false;
return $opts;
}, 10, 2 );


Very stable, zero issues

I’ve been using it on a specific project that needs a sliding box and it has been very stable (including the transition from the prior version of the plugin). I use it with Contact Form 7 and it runs fine. Love it.

Read all 75 reviews

Contributors & Developers

“Boxzilla” is open source software. The following people have contributed to this plugin.


“Boxzilla” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Boxzilla” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


3.2.9 – December 5, 2018


  • Make sure preview updates with correct color values when applying box styles.
  • Use small margin of error to prevent iOS scroll bounce from closing box again.

3.2.7 – July 31, 2018


  • Issue with boxes with only an iframe, image or video and no text not being loaded.

3.2.6 – June 27, 2018


  • Show and/or between rules to help clarify rule logic.
  • Consistent line endings in main plugin file.

3.2.5 – June 6, 2018


  • Some JSON encoders would print Boxzilla config as object, resulting in no boxes actually being loaded.


  • Add “does not contain” qualifier in URL and referrer conditions.

3.2.4 – May 31, 2018


  • Boxzilla content replicating parts of the page if other plugins “incorrectly” use the_content filter.

3.2.3 – May 29, 2018


  • Allow “contains” qualifier in URL and referrer conditions.
  • Include query string in URL conditions.
  • Use SVG for the menu ico. Thanks Kurt Zenisek
  • Added Czech translations. Thanks Zdenek Petrbok
  • Run the_content filter on Boxzilla post content, to enable plugins like Photon.
  • Ensure content element exists when initialising Boxzilla.
  • Improvements to licensing related code for Boxzilla Premium users.

3.2.2 – March 12, 2018


  • Print box contents at an earlier footer hook, so it works with “smart enqueue” methods in other plugins like MailChimp for WordPress or Maxbuttons.

3.2.1 – March 5, 2018


  • Can’t use return value in write context error, introduced in v3.2.

3.2 – March 5, 2018


  • Compatibility with plugins that use JavaScript rendering.


  • Skip boxes with empty content.

3.1.23 – December 13, 2017


  • Event listener for hyperlinks referencing #boxzilla-123. We recommend using [boxzilla_link]to generate your links though[/boxzilla_link]. Here’s how that works.

3.1.22 – November 20, 2017


  • Showing box by location hash after page load wasn’t working.


  • Load <script> in box content synchronously so libraries get a chance to load before they’re used.

3.1.21 – October 10, 2017


  • Ensure that administrators can always edit boxes.

3.1.20 – October 9, 2017


  • Screen width condition not working when using WordPress in language other than English.


  • Use custom capability type so access to Boxzilla boxes can be modified using a role manager plugin.

3.1.19 – September 20, 2017


  • Trigger points based on height (scroll %, element) will now be recalculated when the page height changes.

3.1.18 – September 7, 2017


3.1.17 – August 30, 2017


  • IE11 issue with scroll triggered pop-ups never showing up.

3.1.16 – August 2, 2017


  • JavaScript error when clicking <a> elements without href attributes.

3.1.15 – July 26, 2017


  • Added [boxzilla-close]text here[/boxzilla-close] shortcode to insert a link to close the box.
  • Added setting to hide the close icon.
  • Added setting to hide or show box for logged-in users.

3.1.14 – July 13, 2017


  • IE Edge issue with sliding box animation.


  • Don’t wait for document.ready event to initialise boxes. Fixes issues with plugins not delegaging AJAX event listeners.

3.1.13 – May 11, 2017


  • Allow for script resources in Boxzilla box content (instead of just inline script elements).
  • Reset box content when box is dismissed, eg to stop YouTube video’s from playing.

3.1.12 – April 24, 2017


  • Update endpoint URL for license API requests.

3.1.11 – March 22, 2017


  • #boxzilla-321 link not working when link has a nested image element.


  • Added the option to show on screens smaller than a certain width.
  • Improved URL matching for “is url” rule.

3.1.10 – March 8, 2017


  • Debugging statement that would log to console on every scroll event.


  • Reduced overlay click error margin to 40px (instead of % based).
  • Minor UX improvements for “edit box” screen.

3.1.9 – February 27, 2017


  • Compatibility error with PHP 7.1 because of function name with double underscore prefix.


  • Removed autofocus when box shows because of mobile browser issues & popping up keyboard.


  • Added Romanian language files.

3.1.8 – November 8, 2016


  • JS error on sites running HTTPS, introduced by v3.1.7.

3.1.7 – November 8, 2016


  • Cookie length value was reset on every plugin update.
  • Scroll to bottom when closing box in MobileSafari browsers.


  • Add CSS class to overlay when box is toggled.
  • Ask for plugin review after 2 weeks of usage.

3.1.6 – October 18, 2016


  • Failsafe against including the Boxzilla script twice, to prevent duplicate elements.

3.1.5 – September 6, 2016


  • Box cookies were being set for all boxes when dismissing a box using the overlay or ESCAPE key.
  • Auto-close not working since version 3.1.3


3.1.4 – August 24, 2016


  • no longer working in previous update.

3.1.3 – August 24, 2016


  • Don’t trigger any new boxes when a box is currently open.
  • Fail gracefully when not running PHP 5.3 or higher.

3.1.2 – August 2, 2016


  • Exit-Intent not working in Safari & Firefox.

3.1.1 – August 1, 2016


  • Scroll triggers not working in IE11.


  • Allow <img> elements inside links that open boxes.
  • Better page height detection.

3.1 – July 19, 2016


  • Completely removed jQuery dependency, resulting in better performance & smoother animations.
  • Completely removed CSS file dependency.
  • Box position is now visually hinted in box settings.
  • Event binding improvements for Exit Intent detection.


  • You can now set a cookie after the box is triggered, to prevent consecutively showing the box if a visitor does not explicitly dismiss it.

3.0.3 – July 5, 2016


  • Add id attribute to box element.
  • Automatically fix links in box content that use HTTP when HTTPS is needed.
  • Restore global jQuery object after running user scripts, to failsafe errors.


  • When using MailChimp for WordPress without AJAX, the box will now automatically re-open after reloading the page.

3.0.2 – June 21, 2016


  • Box condition “is post” was not working with an empty value.


  • Prevent PHP notice when saving box without changing box rules.


  • Added French translation files, thanks to Benoit Mercusot.

3.0.1 – May 23, 2016


  • You can now use <script> tags directly in box content (again).


  • Add “post tag is / is not” loading condition.
  • Plugin will now show a notice to deactivate old Scroll Triggered Boxes plugin.
  • Internal changes to dependency container for use in add-on plugins.
  • Add-on: Boxzilla Pageviews Trigger.
  • Add-on: Boxzilla WooCommerce

3.0 – May 11, 2016

Initial release of Boxzilla, formerly known as Scroll Triggered Boxes.

If you’re upgrading from the old plugin, please check updating to Boxzilla from Scroll Triggered Boxes for a list of changes you should be aware of.