Snow Fall

描述

This plugin adds a subtle snow fall effect to your website, using the lightweight <snow-fall> JavaScript web component by Zach Leatherman.

The plugin takes a no-frills, zero-config approach – you simply activate the plugin, and it just works – thanks to the excellent underlying web component implementation. There should be no notable adverse effects on performance, also given the plugin uses the WordPress Script Modules API that was introduced in WordPress 6.5.

The plugin respects user preferences for reduced motion, as a best practice for accessibility.

Additional credit: Banner image by Adam Chang

License

The Snow Fall plugin is licensed under the GPLv2 (or later).

The <snow-fall> and <is-land> web components are licensed under the MIT license.

See their source code on GitHub:

安装

  1. Upload the entire snow-fall folder to the /wp-content/plugins/ directory or download it through the WordPress backend.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

Where can I configure the plugin?

This plugin doesn’t come with a settings screen or options of any kind. You install it, and it just works.

Does the plugin support reduced motion preferences?

Yes! For better accessibility, for clients that are configured to reduce motion the snow fall effect will not show.

The prefers-reduced-motion media query is used to detect such a preference.

Where should I submit my support request?

For regular support requests, please use the wordpress.org support forums. If you have a technical issue with the plugin where you already have more insight on how to fix it, you can also open an issue on GitHub instead.

How can I contribute to the plugin?

If you have ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request in the GitHub repository for the plugin. Please stick to the contributing guidelines.

You can also contribute to the plugin by translating it. Simply visit translate.wordpress.org to get started.

评价

阅读所有2条评价

贡献者及开发者

「Snow Fall」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Snow Fall」插件已被翻译至 7 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Snow Fall」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Fix reduced motion preference not working due to loading order.
  • Update snow-fall web component to 1.0.3.

1.0.0

  • Initial stable release on wordpress.org.

1.0.0-RC

  • Initial release candidate.