Linux 软件免费装
Banner图

RS Diwali Lantern

开发者 rashmibright
更新时间 2026年11月7日 20:26
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

animated decorations diwali lantern kandil

下载

2.4 2.1 2.2 2.3 3.0.4

详情介绍:

RS Diwali Lantern brings festive charm to your WordPress website with beautifully animated Diwali lanterns and a wide range of customization options. The latest version introduces a significantly enhanced experience with a live visual preview directly in the WordPress admin area, multiple lantern designs, support for custom lantern images and GIFs, and flexible positioning controls for desktop, tablet and mobile devices. Whether you want to display a single traditional lantern or create a beautiful combination of multiple decorations, you can customize their appearance, size, placement, animations and visibility to suit your website. With scheduling, page-specific display rules, optional festive greetings and performance-conscious animations, RS Diwali Lantern makes it easy to bring the festive spirit of Diwali to your website. Key Features Multiple Lanterns: Add, duplicate, remove and independently configure up to three lanterns. Beautiful Designs: Choose from three original animated GIFs, six lightweight SVG designs or upload your own custom image or GIF. Live Visual Preview: Preview and customize your lanterns directly in the WordPress admin area, even when website decorations are disabled. Flexible Positioning: Choose from nine placement positions and fine-tune X/Y offsets for precise positioning. Device-Specific Controls: Configure lantern visibility, dimensions and positioning independently for desktop, tablet and mobile. Drag-and-Drop Placement: Drag lanterns within the preview to fine-tune their positions for different screen sizes. Animation Effects: Combine swing, float, pulse, bounce or static movement with optional glow effects such as steady, breathing and flickering. Custom Appearance: Adjust animation speed, intensity, glow color and glow strength. Ready-to-Use Presets: Choose one-, two- or three-lantern layouts, or a lightweight single-SVG layout. Flexible Scheduling: Schedule decorations for specific date and time ranges, with optional annual repetition. Display Rules: Show lanterns across your website, on the homepage, selected pages/posts, or exclude specific pages and posts. WooCommerce Compatibility: Optionally hide decorations on the WooCommerce checkout page. Interactive Greetings: Add optional links, accessible click-to-open festive greetings and session-only dismissal. Settings Management: Export and import settings using JSON, with an explicit option to restore defaults. Performance-Conscious: Conditional asset loading, lightweight SVG designs, mobile performance mode and reduced-motion support. Privacy-Friendly: No third-party scripts, remote fonts, analytics or tracking services. Performance and accessibility Built-in SVG lantern designs are tiny and do not require extra JavaScript. Images have explicit intrinsic dimensions and are loaded lazily, with low fetch priority. The lanterns are fixed-position, so they should not shift document content. By default, the plugin shows one lantern and mobile performance mode is enabled. Mobile performance mode disables CSS animations and glow on small screens. Built-in animated GIF lanterns use bundled static PNG images on mobile. For a custom animated GIF, also select a non-animated fallback image; otherwise it is hidden on mobile when mobile performance mode is active and hidden for visitors who request reduced motion. Animation is disabled for visitors using prefers-reduced-motion. Hover or keyboard focus pauses CSS-based animation. No plugin can guarantee an unchanged Lighthouse/PageSpeed score on every site: results depend on hosting, themes, other plugins, network conditions, cache behavior, image choice, and enabled effects. Benchmark your website on both versions with the same settings and test on desktop and mobile before enabling additional lanterns. Schedule visibility is decided by the server in the WordPress timezone. End times are exclusive: an end time of 16:30 stops at 16:30:00. For already-generated cached pages, an inline JavaScript guard hides the decorations after the scheduled end, including on pages left open past the boundary. Because a page cached before a scheduled start contains no decoration markup, arrange a cache expiration or purge at the start to guarantee immediate activation. Annual schedules repeat on the same month/day, not the changing lunar date of Diwali. If an end date is missing, a nonannual schedule remains active after its start without expiring; specify both boundaries for a bounded event. Invalid or reversed ranges are kept visible for correction in settings, but hidden on the public website (fail closed).

安装:

  1. In WordPress, open Plugins > Add New > Upload Plugin and upload the plugin ZIP.
  2. Activate the plugin. Existing v2.4/v2.5 configuration is read and migrated automatically.
  3. Go to Dashboard > RS Diwali Lantern.
  4. Configure the lanterns and their device-specific positions, or select a preset.
  5. Optionally add schedules, page rules, and click interactions.
  6. Click Save Lantern Settings and inspect both desktop and mobile views of your live website.
To upgrade, make a backup of your site's files and database first. Never uninstall an existing version merely to install the update: uninstalling removes the stored settings.

常见问题:

Does this version keep my old lantern settings?

Yes. v2.4/v2.5 settings are mapped into the new single-lantern configuration when read. Changes are saved to the new format only after you press Save Settings or import/reset settings.

Can I display three different lanterns?

Yes. Up to three, each with independent design, movement, size, placement and visibility. More animated images can affect performance, so one or two light designs are recommended.

Can I use custom SVG uploads?

This plugin uses standard WordPress media and deliberately does not enable SVG file uploads. The six bundled SVG designs are provided by the plugin. For custom decorations, use WordPress-supported JPG, PNG, GIF, WebP or AVIF formats.

Why does my custom GIF disappear on mobile or for visitors who prefer reduced motion?

Set the optional Reduced-motion still image for that custom GIF, or disable mobile performance mode if appropriate. Visitors who request reduced motion do not see custom animated GIFs without a static alternative.

Will exported custom images transfer to another website?

No. An exported configuration contains WordPress media attachment IDs, which are site-specific. Upload/reselect custom artwork on the destination site. The plugin does not fetch remote media during imports.

Will my lantern appear or disappear at the exact schedule boundary?

Server-side checks use the WordPress timezone and the end boundary is exclusive. A small inline guard hides expired lanterns even on previously cached pages or tabs left open. Schedule a cache purge at the start boundary: an inactive page cached before the start cannot acquire lantern markup until the cache refreshes. The client-side safeguard also assumes that visitors have a reasonably accurate device clock.

Does the plugin track visitors?

No analytics or remote network calls are used by the plugin. If a visitor dismisses a lantern, the dismiss state is stored only in their browser's sessionStorage for that tab/session.

更新日志:

3.0.4