A magento 2 module to show banners within a slider. The smart way
The module comes with 4 types of banners which you can add to your sliders.
- Local image (upload or select from wysiwyg gallery)
- External image (URL)
- YouTube video (URL)
- Custom HTML (WYSIWYG editor provided)
But feel free to extend the module to make more types if you want!
Also easily create different resource maps, to facilitate showing different kinds of banners for different screen resolutions (like mobile, desktop, tablet, and TV)!
-
Via Composer
composer require codilar/magento2-banner-slider
(Recommended) -
Manually Clone or download this repository and put it in
app/code/Codilar/BannerSlider
- Login to your Admin panel
- Go to
Content > Banner Slider > Manage Sliders
and create a new slider - Go to
Content > Banner Slider > Manage Resource Maps
to create a new resource type (it takes three parameters, the title, and the min width, and max width which you can leave blank for ignoring) - Go to
Content > Banner Slider > Manage Banners
to add a new banner. Assign the banner to the slider created in step 2 and resource map created in step 3 - Done!
- Widget support
- REST API support
- GraphQL API support