Created
December 16, 2023 17:54
-
-
Save braddalton/d5ca9509d484583ce6303b2ba0bac001 to your computer and use it in GitHub Desktop.
Load jQuery
This file contains hidden or 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 enqueue_custom_scripts() { | |
wp_enqueue_script('custom-script', get_stylesheet_directory_uri() . '/js/custom-script.js', array('jquery'), '1.0', true); | |
} | |
add_action('wp_enqueue_scripts', 'enqueue_custom_scripts'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment