Linux 软件免费装

NJIXHOST Confetti Effects & Celebrations

开发者 njixhost
更新时间 2026年10月12日 18:55
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode woocommerce animation celebration confetti

下载

1.0.7

详情介绍:

NJIXHOST Confetti Effects & Celebrations adds configurable celebrations with seven animation styles, live previews, colors, timing, motion, particle density, size, and positioning controls. Use automatic WooCommerce order-received celebrations, configurable quote-form triggers, or shortcodes on any page. WooCommerce is optional. Reduced-motion support is enabled by default. The bundled animation library loads locally. The plugin does not use a remote CDN, contact external services, collect analytics, or require a license key or account. All included features are available without payment or usage limits.

安装:

  1. Upload the njixhost-confetti-effects-celebrations folder to wp-content/plugins, or upload its ZIP through Plugins > Add New > Upload Plugin.
  2. Activate NJIXHOST Confetti Effects & Celebrations.
  3. Open Settings > NJIXHOST Confetti Effects & Celebrations to configure and preview animations.
  4. Add [njixhost_confetti] to a page or [njixhost_confetti_button text="Celebrate!"] for a button.

常见问题:

How do I trigger confetti when an element scrolls into view?

Use [njixhost_confetti onload="false" inview="true"].

Can I override the saved animation?

For example: [njixhost_confetti style="fireworks" duration="5" particlecount="200"]. Both shortcodes accept style, duration, delay, speed, particlecount, angle, spread, startvelocity, decay, gravity, drift, ticks, scalar, zindex, origin_x, origin_y, and disableforreducedmotion.

Can I trigger animations from JavaScript?

Call window.njixcf.start(), window.njixcf.start({ style: 'fireworks', duration: 5 }), or window.njixcf.stop(). Dispatch the njixcf:celebrate document event with options in its detail property. An element with data-confetti-trigger="click" triggers confetti when clicked; supply optional JSON overrides in data-confetti-options. The previous window.wpConfetti API and confetti:celebrate event remain supported for existing integrations. Existing globals owned by another plugin are not overwritten.

How do I upgrade from the earlier Confetti Effects plugin?

Deactivate the earlier copy before activating this plugin. Existing saved settings are copied automatically if this plugin has no settings yet. Replace [confetti] with [njixhost_confetti] and [confetti_button] with [njixhost_confetti_button] in pages, widgets, and templates, keeping their attributes. Generic shortcode names are no longer registered to avoid conflicts. The plugin does not rewrite your content automatically.

Does it respect reduced-motion preferences?

Yes, by default. The administrator can configure this behavior in settings.

更新日志:

1.0.7 1.0.6 1.0.4 1.0.3