Last active
August 29, 2015 14:17
-
-
Save woodwardtw/ba0614f38514d813361e 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
function add_addthisevent() { //make a function | |
wp_enqueue_script( 'add_this_event', //name it | |
'https://addthisevent.com/libs/1.5.8/ate.min.js', //point to the script you want to enqueue | |
'1.5.8', //what version is the script | |
true); //true puts it in the footer and false puts it in the header | |
} | |
add_action( 'wp_enqueue_scripts', 'add_addthisevent' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment