Created
December 19, 2015 05:50
-
-
Save neilgee/70003b2b1bfe11a332b0 to your computer and use it in GitHub Desktop.
Snowstorm Effect in WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // <~ dont add me in | |
// Enqueue snow script | |
add_action( 'wp_enqueue_scripts', 'wpb_snow_script' ); | |
function wpb_snow_script() { | |
wp_enqueue_script( 'snowstorm', get_stylesheet_directory_uri() . '/js/snowstorm.js', array(), '1.4.4', false ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment