Descripció
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.
Source code and licenses
Plugin PHP, JavaScript, and CSS sources are included. The animation engine is canvas-confetti 1.9.3, distributed under the GPL-compatible ISC license. Its copyright and full license are in THIRD-PARTY-NOTICES.txt.
The complete human-readable animation source is included in assets/js/confetti-core.js. Upstream source is available at https://github.com/catdad/canvas-confetti/tree/1.9.3 and https://github.com/catdad/canvas-confetti/blob/1.9.3/src/confetti.js. This plugin wraps the upstream source in a local module and exposes it as window.njixcfCanvas, so another plugin’s window.confetti library is not replaced. No compilation or minification is needed to use the included source.
Original plugin author: Austin Elongo. Maintained and distributed by NJIXHOST.
Hosting
Developed by NJIXHOST. An optional hosting link is available on the plugin settings page. Hosting purchases are not required to use any plugin feature. The plugin does not send referral identifiers, analytics, or site data to NJIXHOST.
Instal·lació
- Upload the njixhost-confetti-effects-celebrations folder to wp-content/plugins, or upload its ZIP through Plugins > Add New > Upload Plugin.
- Activate NJIXHOST Confetti Effects & Celebrations.
- Open Settings > NJIXHOST Confetti Effects & Celebrations to configure and preview animations.
- Add [njixhost_confetti] to a page or [njixhost_confetti_button text=»Celebrate!»] for a button.
PMF
-
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.
Ressenyes
No hi ha ressenyes per a aquesta extensió.
Col·laboradors i desenvolupadors
«NJIXHOST Confetti Effects & Celebrations» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «NJIXHOST Confetti Effects & Celebrations» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
1.0.7
- Aligned the plugin identity and translation domain with the assigned WordPress.org directory slug.
1.0.6
- Renamed the plugin and aligned its proposed directory slug and text domain.
- Added unique PHP, settings, script, and shortcode identifiers with saved-settings migration.
- Isolated the bundled animation library from other plugins and included its readable source.
- Improved malformed-input handling, checkbox values, and JavaScript option parsing.
- Made the clipboard confirmation translatable and handled clipboard failures.
- Moved public trigger styling into an enqueued stylesheet.
1.0.4
- Added WordPress.org readme metadata, full GPL license text, and animation source documentation.
- Clarified the palette translation placeholder and cleaned submission packaging.
1.0.3
- Configurable animation styles, live previews, shortcodes, and custom triggers.