Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. add_action( 'wp_footer', function () { ?>
  2. <script>
  3.  
  4. jQuery("#team-slider").owlCarousel({
  5. navigation : true, // Show next and prev buttons
  6. autoplay: false,
  7. autoplayTimeout: custom_data.consultstreet_team_scroll_speed,
  8. autoplayHoverPause: true,
  9. smartSpeed: custom_data.consultstreet_team_smart_speed,
  10. mouseDrag: false,
  11.  
  12. loop:true, // loop is true up to 1199px screen.
  13. nav:false, // is true across all sizes
  14. margin:30, // margin 10px till 960 breakpoint
  15.  
  16. responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
  17. //items: 5,
  18. dots: false,
  19. navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"],
  20. responsive:{
  21. 100:{ items:1 },
  22. 480:{ items:1 },
  23. 768:{ items:2 },
  24. 1000:{ items:custom_data.consultstreet_team_column_layout }
  25. }
  26. });
  27.  
  28. jQuery("#sponsors-slider").owlCarousel({
  29. navigation : true, // Show next and prev buttons
  30. autoplay: false,
  31. autoplayTimeout: custom_data.consultstreet_client_scroll_speed,
  32. autoplayHoverPause: true,
  33. smartSpeed: custom_data.consultstreet_client_smart_speed,
  34. mouseDrag: false,
  35.  
  36. loop:true, // loop is true up to 1199px screen.
  37. nav:false, // is true across all sizes
  38. margin:30, // margin 10px till 960 breakpoint
  39. autoHeight: true,
  40. responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
  41. //items: 3,
  42. dots: false,
  43. navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"],
  44. responsive:{
  45. 100:{ items:1 },
  46. 480:{ items:1 },
  47. 768:{ items:2 },
  48. 1000:{ items:custom_data.consultstreet_client1_column_layout }
  49. }
  50. });
  51.  
  52.  
  53. </script>
  54. <?php } );
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement