=== Code Live Snow ===
Contributors: usman184
Tags: snow, winter, christmas, animation, holiday
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.0
Stable tag: 1.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight falling snow with built-in snowflake styles, multiple custom images, page targeting and date scheduling.

== Description ==

Code Live Snow adds a lightweight, canvas-based falling snow animation to your site. Everything is configured from one simple settings screen, and the snow can switch itself on and off automatically by date.

**Features**

* 5 built-in snowflake styles included: soft dot, classic, crystal, simple and sparkle
* Mix several styles at once, each flake picks one at random
* Add multiple custom snow images from your Media Library (up to 20)
* Minimum and maximum flake size, with gentle rotation and sway
* Four directions: top to bottom, right to left, left to right, diagonal
* Separate flake counts for mobile and desktop
* Adjustable speed and z-index
* Show snow on the whole site or only on selected page/post IDs
* Start and end dates for automatic seasonal display
* Respects the visitor's "reduce motion" accessibility setting
* No tracking, no external requests, no ads

== Installation ==

1. Upload the `code-live-snow` folder to `/wp-content/plugins/`, or install it from the Plugins screen.
2. Activate the plugin through the Plugins screen.
3. Go to Settings → Code Live Snow to configure it.

== Frequently Asked Questions ==

= How do I show snow only on certain pages? =

Enter the page or post IDs separated by commas in "Show only on IDs". Leave the field empty to show snow everywhere.

= Will the snow block clicks on my site? =

No. The snow canvas uses `pointer-events: none`, so visitors can click through it.

= Can I use my own snowflake images? =

Yes. Click "Add Images" and select one or more images from your Media Library. You can combine them with the built-in styles.

= Which snowflake styles are used by default? =

Soft dot, Classic flake and Crystal flake. You can change this under Settings → Code Live Snow.

== Changelog ==

= 1.4.0 =
* Added 5 built-in snowflake styles bundled with the plugin
* Select multiple snowflake styles at once
* Add multiple custom snow images from the Media Library
* Added minimum and maximum flake size settings
* Flakes now gently rotate and sway
* Existing single custom image is kept when upgrading

= 1.3.2 =
* Moved all JavaScript and CSS into properly enqueued files
* Added stricter sanitization and validation of all settings
* Made all strings translatable
* Snow now respects the "prefers reduced motion" setting
* Page ID targeting now works for posts as well as pages
* Added Settings link on the Plugins screen
* Settings are removed when the plugin is deleted

= 1.3.1 =
* Fixed media uploader button not opening

== Upgrade Notice ==

= 1.4.0 =
Adds built-in snowflake styles and multiple custom images.

= 1.3.2 =
Code quality and security improvements for the WordPress.org directory.
