Scrollable list – next/prev button doesn’t work

In Scrollable list, if nothing happens when you click next/prev button, that is a problem caused by a script of another plugin or active theme.

To solve this problem, please add this code to file functions.php of your active theme:

/* CVPro - Fix scrollable bug - click next/prev but it doesn't slide */
add_action( 'wp_footer', 'cvp_fix_scrollable_button' );

function cvp_fix_scrollable_button() {
	?>
	<script>
		jQuery( document ).ready( function ( $ ) {
			$( '.carousel-control.left' ).off( 'click' ).on( 'click', function () {
				$( this ).parent().carousel( 'prev' );
			} );
			$( '.carousel-control.right' ).off( 'click' ).on( 'click', function () {
				$( this ).parent().carousel( 'next' );
			} );
		} );
	</script>
	<?php

}