The solution will use a custom init action and function that will be added to the child theme’s functions.php file. The function will call wp_enqueue_script() to load the WordPress jQuery library once. The function will then use get_bloginfo(‘stylesheet_directory’) to get the base URL of the child theme.
Here is the resulting action and function that is added to the child theme’s functions.php file:
For more information, please check the following documentation: