Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wp_footer', function () { ?>
- <script>
- jQuery("#team-slider").owlCarousel({
- navigation : true, // Show next and prev buttons
- autoplay: false,
- autoplayTimeout: custom_data.consultstreet_team_scroll_speed,
- autoplayHoverPause: true,
- smartSpeed: custom_data.consultstreet_team_smart_speed,
- mouseDrag: false,
- loop:true, // loop is true up to 1199px screen.
- nav:false, // is true across all sizes
- margin:30, // margin 10px till 960 breakpoint
- responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
- //items: 5,
- dots: false,
- navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"],
- responsive:{
- 100:{ items:1 },
- 480:{ items:1 },
- 768:{ items:2 },
- 1000:{ items:custom_data.consultstreet_team_column_layout }
- }
- });
- jQuery("#sponsors-slider").owlCarousel({
- navigation : true, // Show next and prev buttons
- autoplay: false,
- autoplayTimeout: custom_data.consultstreet_client_scroll_speed,
- autoplayHoverPause: true,
- smartSpeed: custom_data.consultstreet_client_smart_speed,
- mouseDrag: false,
- loop:true, // loop is true up to 1199px screen.
- nav:false, // is true across all sizes
- margin:30, // margin 10px till 960 breakpoint
- autoHeight: true,
- responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
- //items: 3,
- dots: false,
- navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"],
- responsive:{
- 100:{ items:1 },
- 480:{ items:1 },
- 768:{ items:2 },
- 1000:{ items:custom_data.consultstreet_client1_column_layout }
- }
- });
- </script>
- <?php } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement