| 开发者 |
Ibericode
DvanKooten hchouhan lapzor |
|---|---|
| 更新时间 | 2026年5月8日 20:41 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-3.0-or-later |
| 版权网址: | 版权信息 |
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.
Yes. Boxzilla works with shortcode-based form plugins, including Mailchimp for WordPress. Add the form shortcode to the box content and publish the box.
Yes. Link to the box ID from any link or button. For example, if your box ID is 94, use this link:
<a href="#boxzilla-94">Open Box</a>
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.
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 */
Boxzilla adds only 6 kB of JavaScript to the front end. The script is built for small, targeted popups and slide-ins.
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' );
href attribute before filtering.Boxzilla.off from the JavaScript API because it was a no-op and unused.class attribute on the settings page wrapper element.id attribute on the box width input field.get_terms() call.box.interactions.link event for image clicks and nested elements inside links.strtotime('now') with time().