Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save webdev1001/564dfd762b4cd19990dd to your computer and use it in GitHub Desktop.
Save webdev1001/564dfd762b4cd19990dd to your computer and use it in GitHub Desktop.
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