Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // footer custom script
- function spicepress_client_custom_script()
- {
- ?>
- <script>
- // HOMEPAGE SLIDER
- jQuery(document).ready(function() {
- jQuery("#clients-carousel").owlCarousel({
- navigation : true, // Show next and prev buttons
- autoplay : 7000,
- autoplayTimeout: client_settings.animationSpeed,
- autoplayHoverPause:true,
- loop:true, // loop is true up to 1199px screen.
- nav:true, // 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: 5,
- dots: false,
- navText: ["<i class='fa fa-chevron-left'></i>","<i class='fa fa-chevron-right'></i>"],
- responsive:{
- 100:{ items:1 },
- 480:{ items:1 },
- 768:{ items:3 },
- 1000:{ items:3 }
- }
- });
- });
- </script>
- <?php
- }
- add_action('wp_footer','spicepress_client_custom_script');
Add Comment
Please, Sign In to add comment