In this blog we will learn how to add a slick carousel in a WordPress Theme without using any plugins.
There are couple of ways you can add a slick carousel in WordPress:
- Using slick-carousel npm package, or,
- Download required slick files.
In this blog we will learn the second way, by downloading the slick files.
Step One: Download Slick Carousel files:
The first thing we need to do is download the slick files from kenwheeler.github.io
Create a directories called assets
, src
and library
in the root of your project in the following order. your-theme > assets > src > library
Create two more directories inside library
called css
and js
https://imranhsayed.medium.com/slick-slider-wordpress-without-plugin-slick-carousel-ef2394c737ef