Created
May 21, 2015 20:43
-
-
Save pingram3541/b0fc316b799d0549c92b to your computer and use it in GitHub Desktop.
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
/* --------------------------------------------------------------------------- | |
* Equeue for Specials Page | |
* --------------------------------------------------------------------------- */ | |
add_action('wp_enqueue_scripts', 'enqueue_specials_script'); | |
function enqueue_specials_script(){ | |
if(is_archive( 'specials' )){ | |
wp_enqueue_script( 'specials-script', get_stylesheet_directory_uri() .'/js/specials.js', array(), null, true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment