Forked from cobaltapps/Enqueue an external Custom Javascript file to Dynamik Website Builder
Last active
August 29, 2015 14:09
-
-
Save webdev1001/564dfd762b4cd19990dd 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
add_action( 'wp_enqueue_scripts', 'custom_enqueue_scripts' ); | |
/** | |
* Enqueue an external Custom Javascript file to Dynamik Website Builder | |
*/ | |
function custom_enqueue_scripts() | |
{ | |
wp_enqueue_script( 'my-scripts', dynamik_get_stylesheet_location( 'url' ) . 'my-scripts.js', array( 'jquery' ), CHILD_THEME_VERSION, true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment