| 开发者 |
Ibericode
DvanKooten hchouhan lapzor |
|---|---|
| 更新时间 | 2026年6月1日 15:50 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | 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' );
Boxzilla.off from the JS API as it was a no-op and no one is using it.<img> clicks inside an <a> element (or any nested element inside a hyperlink).