Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Has anyone used slick slider in their WordPress theme ?
I have been messing around now for hours trying to get the slick slider js to work in a WordPress theme with Custom Post Types and Advanced Custom Fields.
I have the post loading and content on page looks how I want but the slider it self is not working however the slick files are loading fine because I have switched to the CDN versions to make sure I can get this going before adding the files in.
I an not interested in the slick slider plugin because it does not suit the content I want on the slides.
I tried out slider revolution and again for this purpose is is not suitable.
Any help appreciated!
Do you mean this one?
If so, yes I have Slick Slider working on a couple of custom WordPress themes using the CDN for both CSS and JS.
Could it be conflicting with another script?
EDIT: Sample code added to comment below.
Michael Escoto30,028 Points
Not sure if you're still having this problem but I was having a similar issue. I found this article helpful: http://www.engagewp.com/custom-image-slider-with-advanced-custom-fields-and-slick/
I created a separate init file and switched to using the CDN for the JS files as the article suggests and it seemed to fix my problem.