Hello,
I tried to implement the functions.php tweak found here: https://kriesi.at/support/topic/use-avia-js-in-child-theme/
That plain old does not work. Has something changed since then that needs to be accounted for?
Hey!
Try this one:
function wp_change_aviajs() {
wp_dequeue_script( 'avia-default' );
wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true );
}
add_action( 'wp_print_scripts', 'wp_change_aviajs', 100 );
Cheers!
Josue