Title: Snowfall
Author: Artyom Ilyin
Published: <strong>2020 年 12 月 23 日</strong>
Last modified: 2020 年 12 月 23 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/snowfall.svg)

# Snowfall

 由 [Artyom Ilyin](https://profiles.wordpress.org/ailyin/) 開發

[下載](https://downloads.wordpress.org/plugin/snowfall.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/snowfall/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/snowfall/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/snowfall/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/snowfall/#developers)

 [技術支援](https://wordpress.org/support/plugin/snowfall/)

## 外掛說明

Simple easy-to-use and easy-to-set-up lightweight plugin for snowfall effect on 
your site. If you have any questions or inqueries, please feel free to get in touch
via email kupnoh25@gmail.com.

Snowfall plugin uses snowfall library to set up snow effect. For more info about
the library go to https://github.com/KupnoH/snowfall.
 Plugin is very easy to install
and use. Though some coding needed to set this plugin up it’s very easy and _Installation_
section explains it in details. You can find this plugin on github [here](https://github.com/KupnoH/snowfall-wp)

## 安裝方式

To install the plugin do the same steps you do for installing wordpress plugins.

#### Set up

The set up for the plugin is a bit harder, but I’ll explain it in details:
 The 
plugin allows to set up snowfall effect in 2 ways: 1. via WordPress actions 2. manually.

#### 1. WordPress actions.

Plugin provides action `snowfall_main_tag_action` which adds necessary blocks and
queues necessary scripts. This is why this set up is easier.
 To make it work add
the following code right after `<body>` opening tag:

    ```
    <?php do_action('snowfall_main_tag_action'); ?>
    ```

When this action will be added, and the plugin will be enabled you will see the 
snowfall effect on your site.

#### 2. Manual set up

As mentioned above manual set up is a bit harder than set up through WordPress actions.

To set up plugin manually you need to: – add `<div id="some-unique-id"></div>` right
after `<body>` opening tag. **NOTE:** the `id` attribute for this block should be
unique. – create the following javascript snippet: `new Snowfall("some-unique-id");`**
NOTE:** `some-unique-id` from this code snippet should be the same as `id` attribute
from the block you created above. – enqueue the code snippet from the step above
after `snowfall` script (`snowfall` – is a script’s handle for more info see [wp_enqueue_script](https://developer.wordpress.org/reference/functions/wp_enqueue_script/))–
now activate the plugin if it’s still disabled and you will see the snowfall effect
on your site.

## 常見問題集

### Can I customize the snow effect?

In short – yes.
 To customize the snowfall effect(increase/decrease number of snowflakes,
increase/decrease it’s size/color etc) you have 2 options: – do it manually yourself(
some coding knowledge required) – ask me to do it for you

If you chose to do it yourself, please refer to snowfall library documentation [here](https://github.com/KupnoH/snowfall/blob/master/README.md).

If you want me to do it for you, please write me an email to `kupnoh25@gmail.com`
with Subject `Snowfall customization` and we would discuss further details.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Snowfall〉的開發相關工作。

參與者

 *   [ Artyom Ilyin ](https://profiles.wordpress.org/ailyin/)

〈Snowfall〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/snowfall/contributors)
為這個外掛做出的貢獻。

[將〈Snowfall〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/snowfall)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/snowfall/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/snowfall/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/snowfall/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/snowfall/)。

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **6 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.6.23**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/snowfall/) 及 [Russian](https://ru.wordpress.org/plugins/snowfall/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/snowfall)
 * 標籤:
 * [christmas](https://tw.wordpress.org/plugins/tags/christmas/)[easy](https://tw.wordpress.org/plugins/tags/easy/)
   [lightweight](https://tw.wordpress.org/plugins/tags/lightweight/)[simple](https://tw.wordpress.org/plugins/tags/simple/)
   [snow](https://tw.wordpress.org/plugins/tags/snow/)
 *  [進階檢視](https://tw.wordpress.org/plugins/snowfall/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/snowfall/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/snowfall/reviews/)

## 參與者

 *   [ Artyom Ilyin ](https://profiles.wordpress.org/ailyin/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/snowfall/)