March 27, 2015 at 5:34 am
#23553
Theme Horse Support Team
Keymaster
Hi Bill,
We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.
http://codex.wordpress.org/Child_Themes
You may try this below code.
function attitude_javascripts() {
wp_enqueue_script( 'the-script-handle',
'path/to/file.js',
array( 'jquery','other_script_that_we_depend_on' ),
'scriptversion eg. 1.0',
true);
}
add_action( 'wp_enqueue_scripts', 'attitude_javascripts' );
If you are unable to add then you may hire a developer to fix it.
Thank you!