i can see the parts in the slideshow.js and can set the defaults there – but is there a way to influence it via child-theme functions.php to have f.e.
stop slideshow on mouseenter – start on mouseleave ?
or to not stop autorotation on click next/prev ?
Hey Guenter!
Sorry for the late reply!
You could dequeue slideshow.js file from parent theme and enqueue it on your child theme by adding following code to functions.php
function wp_change_slideshowjs() {
wp_dequeue_script( 'avia-module-slideshow', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/slideshow/slideshow.js', array( 'avia-shortcodes' ), false, true );
wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/shortcodes/slideshow.js', array('jquery'), 2, true );
}
add_action( 'wp_print_scripts', 'wp_change_slideshowjs', 100 );
Best regards,
Yigit