Comments (1)
The custom parameters are missing from Slick init:
$(el).slick({
slide: '.wpscr_slide',
dots: options.dots,
infinite: options.infinite,
arrows: options.arrows,
speed: options.speed,
autoplay: options.autoplay,
fade: options.fade,
autoplaySpeed: options.autoplaySpeed,
slidesToShow: options.slidesToShow,
slidesToScroll: options.slidesToScroll,
adaptiveHeight: options.adaptiveHeight,
lazyLoad: options.lazyLoad
});
This needs to be even more dynamic, using jQuery.extend().
The problem is that the JavaScript object includes parameters that are not for Slick (such as width and height).
Todo
- Use jQuery extend to get the slider options @siamkreative
- Split the object into multiple sub-objects like
slick
,general_settings
,other
@julien731
from slick-carousel-reloaded.
Related Issues (20)
- Lazy load option not working
- Add Caption Support
- Titan Framework Loaded Twice HOT 1
- Replace CPT library
- Load composer dependencies individually
- Lock Slider Image Size
- Load Slick via JavaScript
- Improve Dashboard Slider List View HOT 1
- PHP Permission denied
- Resize function does not work as expected
- Add Custom CSS Support
- Add support for imagesLoaded?
- Add French translation
- Cloudinary integration issue w/ localhost
- Slider isn't working if [shortcode] isn't used in wp_content
- Adding link on slide require installing a plugin
- Loading Spinner - SVG's SMIL animations (<animate>, <set>, etc.) are deprecated and will be removed.
- Custom Upload Directory
- Shortcode - Should they have all attributes or just ID?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slick-carousel-reloaded.