Add falling snow and Christmas lights to WordPress
You don't need a dedicated "snow plugin" for WordPress. Christmas Lights is one line of code, so the free WPCode plugin (or your theme's footer box) is all it takes to add falling snow that piles up, twinkling lights or Santa's sleigh to every page.
You'll need your free key first. It takes a minute and arrives by email.
Step by step
Get your free widget code
Register your website at worldofaiagents.com/christmas, verify your email with the 6-digit code, and copy the script tag from the email.
Install WPCode
In your WordPress dashboard go to Plugins → Add New, search for WPCode, then click Install Now and Activate.
Open Header & Footer
Go to Code Snippets → Header & Footer.
Paste into the Footer box
Paste your Christmas Lights code into the Footer box and click Save Changes.
Clear your cache
If you use WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache or Cloudflare, clear the cache, then open your site.
Your code looks like this
<script async src="https://worldofaiagents.com/christmas/w.js" data-key="XM-YOURKEY" data-style="wonderland" data-until="2027-01-07"></script>
Change data-style to wonderland, snowfall, lights, sleigh or icicles whenever you like. data-until switches it off after a date (7 January by default). Optional: data-cursor="off" removes the stardust cursor, data-drift="off" stops snow piling up, data-greeting="holidays" says "Happy holidays", and data-position="right" moves the on/off button.
Without a plugin (child theme)
add_action( 'wp_footer', function () { ?>
<script async src="https://worldofaiagents.com/christmas/w.js" data-key="XM-YOURKEY" data-style="wonderland" data-until="2027-01-07"></script>
<?php } );
Add this to a child theme's functions.php. Don't edit a parent theme: the change disappears with the next update.
Troubleshooting
- The snow doesn't show up
- Clear every cache layer (plugin, host and CDN) and check in a private window. Make sure the domain you registered matches your live domain.
- It only starts after I scroll or tap
- WP Rocket's "Delay JavaScript execution" (and similar options in LiteSpeed or Perfmatters) holds scripts back until interaction. Add
worldofaiagents.com/christmas/w.jsto the exclusions. - I'm on WordPress.com
- Adding scripts needs a plan that supports plugins (Business or higher).
Questions
What is the best free snow plugin for WordPress?
You can skip a dedicated snow plugin. Christmas Lights is a free one-line script you add with WPCode; it adds snow that piles up, Christmas lights or Santa's sleigh and works with every theme, including Elementor, Divi, Astra and block themes.
Will a snow effect slow down WordPress?
No noticeable slowdown. The script is about 14 KB compressed, loads asynchronously and draws on a fixed overlay, so it doesn't affect your layout or Core Web Vitals.
Does it work with WooCommerce?
Yes. The snow sits on a transparent layer that ignores clicks, so product pages, cart and checkout work as normal.
Let it snow on your WordPress site today
The snow on this page is the real widget. Try every theme on the main page.
Get my free Christmas lights 🎄Other guides
- How to add a snow effect to your website
- Animated Christmas lights for your website
- Add a snow effect and Christmas lights to Shopify
- Add a snow effect to your Wix website
- Add a snow effect to your Squarespace website
- Add a snow effect to your Webflow site
- Add a snow effect to your Blogger blog
- Add a snow effect with Google Tag Manager
- Christmas snowfall for React, Next.js and Vue