Listing Carousel Feed Autoplay

Share this resource

Share on facebook
Share on twitter
Share on linkedin
Share on email
Share on facebook
Submitted by: Donald McGuinn

Add this code to Custom Js to enable Listing Carousel to autoplay.

jQuery(document).ready(function($) {
    if ( $('.listing-feed-carousel').length ) {
        $('.listing-feed-carousel').data('owl.carousel').options.autoplay = true;
        $('.listing-feed-carousel').data('owl.carousel').options.autoplayHoverPause = true;
        $('.listing-feed-carousel').data('owl.carousel').options.autoplayTimeout = 2500;
        $('.listing-feed-carousel').data('owl.carousel').refresh();
    }
});