Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wp_footer', function () { ?>
- <script>
- jQuery("#theme-main-slider").owlCarousel({
- navigation : true, // Show next and prev buttons
- slideSpeed : 300,
- animateIn: custom_data.arilewp_main_slider_aniamte_in,
- animateOut: custom_data.arilewp_main_slider_aniamte_out,
- autoplay : false,
- smartSpeed: custom_data.arilewp_main_slider_smart_speed,
- autoplayTimeout: custom_data.arilewp_main_slider_scroll_speed,
- autoplayHoverPause:true,
- singleItem:true,
- mouseDrag: false,
- touchDrag: custom_data.arilewp_main_slider_mouse_drag_disabled,
- loop:true, // loop is true up to 1199px screen.
- nav:true, // is true across all sizes
- margin:0, // margin 10px till 960 breakpoint
- autoHeight: true,
- responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
- items: 1,
- dots: false,
- navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"]
- });
- </script>
- <?php } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement