- Bump required PHP version to 7.4 or higher.
- Remove deprecated Bootstrapper class.
- Add link to https://my.boxzillaplugin.com when trying to activate an expired license.
- Bump tested WordPress version.
- Fix unclosed element on plugins overview page, breaking the table layout.
- Bump license to GPL v3 or higher.
- Bump required PHP version to 7.2 or higher.
- The Boxzilla script itself is now deferred for improved client-side performance.
- You can now use the Boxzilla JS API before the script has fully loaded.
- Minor server side performance improvements by getting rid of unnecessary sprintf calls or string copies.
- All i18n function call return values are now HTML escaped.
- Verify
Jetpack::is_module_active
exists before method is called.
- Minor performance improvements to plugin bootstrapping and autoloader implementation.
- Fix link in license key form.
- Move CSS out of JS file for improved parsing performance.
- Move to webpack instead of Gulp for preparing client-side asset files.
- Bump required PHP version to 7.0 or later.
- Fix scroll based trigger regression introduced in previous version.
- Check if
administrator
role exists before adding capabilities to it. Thanks Jaime Martínez. - Fix "undefined array key href" warning on PHP8.
- Fix PHP8.1 deprecation warnings.
- Change usage of deprecated jQuery.load method.
- Add
aria-modal="true"
to overlay element.
- Allow for
#boxzilla-ID
links in<area>
elements. - Show certain settings even if no trigger is chosen.
- Only show auto-hide setting if trigger is set to element or percentage (ie trigger condition can revert).
- Add
aria-label
to close icon to help screen readers.
- Minor code improvements
- Check if body element exists before updating class attribute, fixes an issue with some page builders.
- "If post category" or "if post tag" conditionals now apply to any post-type using built-in WP categories or tags.
Fixes
- An issue with the "pageviews" trigger on Safari Mobile where session storage is inaccessible in the beforeunload event.
Improvements
- Prepare for upcoming Mailchimp for WordPress plugin update which changes the name of the JS object when a form is submitted without AJAX.
Fixes
- Box rules using "contains" would only check first argument (when using comma-separated value).
Improvements
- Use a dedicated overlay element per box to prevent issues with multiple boxs showing on a page. Thanks Jason Maurer!
Fixes
- Missing quotes in HTML attribute on "edit box" page.
Fixes
- Notices when checking for updating and not having some add-on plugins installed.
Improvements
Roll-back a change in version 3.2.15 that caused an issue with Boxzilla Theme Pack and Boxzilla WooCommerce.
Please make sure your Boxzilla plugin license is activated and then update Boxzilla Theme Pack and Boxzilla WooCommerce to the latest version.
Improvements
- Add proper SVG icon with neutral color for admin menu.
- Use Page Visibility API for time-based triggers (time on site & time on page).
- Stop using
supress_filters
when retrieving boxes for a possible performance improvement. - Minor performance improvement in bootstrapping logic.
- Add link to Koko Analytics
Fixes
- Issue with incorrect argument count for some sites with custom menu's.
Improvements
- Allow more query hash parameters for opening a box.
- Allow bypassing animation for opening or closing boxes.
Additions
- Easily link to boxes from WP Menu's.
Improvements
- Allow skipping animations when showing, hiding or dismissing a box.
- Check for empty box content after running filter hooks, instead of before.
Improvements
- Update loading configuration when duplicating a box.
- Accept query parameters in URL hash for opening a box through a link click or on loading a page.
Improvements
- Better exit intent detection for mobile devices.
Additions
- New bulk action to quickly duplicate a box with all of its settings.
Improvements
- 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.
Fixes
- Issue with boxes with only an iframe, image or video and no text not being loaded.
Improvements
- Show and/or between rules to help clarify rule logic.
- Consistent line endings in main plugin file.
Fixes
- Some JSON encoders would print Boxzilla config as object, resulting in no boxes actually being loaded.
Additions
- Add "does not contain" qualifier in URL and referrer conditions.
Fixes
- Boxzilla content replicating parts of the page if other plugins "incorrectly" use
the_content
filter.
Improvements
- 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.
Improvements
- Print box contents at an earlier footer hook, so it works with "smart enqueue" methods in other plugins like Mailchimp for WordPress or Maxbuttons.
Fixes
- Can't use return value in write context error, introduced in v3.2.
Fixes
- Compatibility with plugins that use JavaScript rendering.
Improvements
- Skip boxes with empty content.
Fixes
- Event listener for hyperlinks referencing
#boxzilla-123
. We recommend using[boxzilla_link]to generate your links though[/boxzilla_link]
. Here's how that works.
Fixes
- Showing box by location hash after page load wasn't working.
Improvements
- Load
<script>
in box content synchronously so libraries get a chance to load before they're used.
Fixes
- Ensure that administrators can always edit boxes.
Fixes
- Screen width condition not working when using WordPress in language other than English.
Improvements
- Use custom capability type so access to Boxzilla boxes can be modified using a role manager plugin.
Improvements
- Trigger points based on height (scroll %, element) will now be recalculated when the page height changes.
Additions
- Added
[boxzilla_link]
shortcode to generate the correct HTML for a link to show/toggle/hide/dismiss a box.
Fixes
- IE11 issue with scroll triggered pop-ups never showing up.
Fixes
- JavaScript error when clicking
<a>
elements withouthref
attributes.
Additions
- 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.
Fixes
- IE Edge issue with sliding box animation.
Improvements
- Don't wait for document.ready event to initialise boxes. Fixes issues with plugins not delegaging AJAX event listeners.
Improvements
- 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.
Improvements
- Update endpoint URL for license API requests.
Fixes
#boxzilla-321
link not working when link has a nested image element.
Improvements
- Added the option to show on screens smaller than a certain width.
- Improved URL matching for "is url" rule.
Fixes
- Debugging statement that would log to console on every scroll event.
Improvements
- Reduced overlay click error margin to 40px (instead of % based).
- Minor UX improvements for "edit box" screen.
Fixes
- Compatibility error with PHP 7.1 because of function name with double underscore prefix.
Improvements
- Removed autofocus when box shows because of mobile browser issues & popping up keyboard.
Additions
- Added Romanian language files.
Fixes
- JS error on sites running HTTPS, introduced by v3.1.7.
Fixes
- Cookie length value was reset on every plugin update.
- Scroll to bottom when closing box in MobileSafari browsers.
Improvements
- Add CSS class to overlay when box is toggled.
- Ask for plugin review after 2 weeks of usage.
Improvements
- Failsafe against including the Boxzilla script twice, to prevent duplicate elements.
Fixes
- 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
Improvements
- Prevent default click event action when clicking close icon.
- Add helper classes for the Boxzilla - Theme Pack add-on.
Fixes
Boxzilla.show(123)
no longer working in previous update.
Improvements
- Don't trigger any new boxes when a box is currently open.
- Fail gracefully when not running PHP 5.3 or higher.
Fixes
- Exit-Intent not working in Safari & Firefox.
Fixes
- Scroll triggers not working in IE11.
Improvements
- Allow
<img>
elements inside links that open boxes. - Better page height detection.
Improvements
- 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.
Additions
- 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.
Improvements
- 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.
Additions
- When using Mailchimp for WordPress without AJAX, the box will now automatically re-open after reloading the page.
Fixes
- Box condition "is post" was not working with an empty value.
Improvements
- Prevent PHP notice when saving box without changing box rules.
Additions
- Added French translation files, thanks to Benoit Mercusot.
Improvements
- You can now use
<script>
tags directly in box content (again).
Additions
- 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
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.