Linux 软件免费装
Banner图

Yellow Mark Snow

开发者 yellowmark
更新时间 2026年12月2日 15:45
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

snow winter christmas animation snowfall

下载

1.0.0

详情介绍:

Yellow Mark Snow adds a gentle snowfall overlay to your public website for Christmas and winter celebrations. It works without theme editing, jQuery, external libraries, or a build step. Configure it under Settings > Yellow Mark Snow: Visitor comfort Visitors can pause and resume snow with a keyboard-accessible button. Their preference is remembered in sessionStorage for the current browser tab. Snow automatically stays off when the device requests reduced motion. The decorative canvas is hidden from assistive technology and does not intercept links, forms, or scrolling. Lightweight by design The effect uses one canvas, at most 110 flakes, capped pixel density, and a drawing rate of approximately 30 frames per second or less. Small screens use fewer flakes. Animation pauses in hidden tabs. Assets load only on eligible public pages, not admin, login, feeds, or embeds. Privacy and external services This plugin does not track visitors, send data to its author, load remote scripts, or call external services. It stores site-wide appearance settings in one WordPress option and a local pause preference in sessionStorage. It does not set cookies. Deleting the plugin removes its WordPress settings, including settings on sites in a multisite network. A tab's local pause preference expires when that browser tab is closed. Compatibility The theme must call the standard wp_head() and wp_footer() hooks. Clear page and CDN caches after changing settings. The plugin decorates the public website; it does not change your theme or content. Enable snowfall for the holiday season and disable it afterward.

安装:

  1. Upload the yellow-mark-snow folder to /wp-content/plugins/, or upload the ZIP through Plugins > Add New > Upload Plugin.
  2. Activate Yellow Mark Snow.
  3. Open Settings > Yellow Mark Snow.
  4. Choose your appearance options and save changes.
  5. Visit your public website. Snow is enabled by default on desktop and mobile, unless reduced motion is requested.

屏幕截图:

  • Snowfall effect on a public website.

升级注意事项:

1.0.0 Initial release of Yellow Mark Snow.

常见问题:

Where are the settings?

Open Settings > Yellow Mark Snow, or use the Settings link on the Plugins screen. Administrators can save settings through the standard WordPress Settings API.

Does it work with any theme or page builder?

It uses the standard WordPress frontend hooks and does not require a page builder. Themes must call wp_head() and wp_footer(). A theme's fixed-position widgets can overlap the bottom-left pause button; check your layout before enabling the effect for visitors.

Why can I not see snow?

Check that snowfall is enabled, confirm homepage-only and mobile settings, clear caches, and check whether your operating system requests reduced motion. If you paused snow in this tab, use Resume snow. White snow may be hard to see on white backgrounds; choose another color or increase size and opacity.

Can visitors turn it off?

Yes. Pause snow stops the animation immediately and clears the canvas. Resume snow restarts it. The preference persists across pages in the same tab when browser storage is available. If storage is blocked, pausing still works on the current page.

Can I override reduced-motion preferences?

No. The effect respects this accessibility preference automatically, including changes made while the page is open.

Does it run forever or follow a Christmas schedule?

It remains enabled until you disable it in Settings. There is no date scheduling or background task.

What happens when I deactivate or delete it?

Deactivation stops loading snow while keeping site settings. Deleting the plugin removes its settings from the WordPress database. Clear any full-page caches after deactivation or deletion.

更新日志:

1.0.0