A light-weight, dead-simple WordPress slider plug-in.
- WordPress 4.8 or higher.
- PHP 5.6 or higher.
- Download the plugin zip file.
- Go to your WordPress Dashboard > Plugins > Add New > Upload Plugin and select the downloaded plugin file.
- Activate.
- Go to your WordPress Dashboard > Slides > Sliders.
- Give your new slider a name.
- Click "Add New Slider".
- Go to your WordPress Dashboard > Slides > Add New Slide.
- Enter a Slide Title (Slide title only shows up here so you can keep track of your slides. It won't show on your pages.)
- IF you want the slide to link somewhere, enter the URL.
- Select the slider you want this slide to appear in. (You can also create new sliders on the fly.)
- Give the slide an order number for the sequence you want it to be in within a slide show.
- Select a featured image for the slide.
- Publish.
Choose any of the following:
- Drop a slider into any widget area.
- Give the widget a title. (Titles are just for you to keep track of slider widgets. They won't show on your pages.)
- Select the slider you want to show.
- Go to your WordPress Dashboard > Slides > Sliders and find the "slug" for the slider you want to show from the list.
- In any post or page, enter the following:
[ic-slider slider="slider-name"]
Where "slider-name" is replaced by the slug of the slider you want to appear at that point in your post or page.
Find where in your template you want the slider to appear and insert:
<?php ICaspar\LightSlider\Slider::showSlider('sliderName'); ?>
Where sliderName
is the slider's slug.
This plugin is a wrapper for Ken Wheeler's slick slider/carousel. Currently it supports only the slider functionality with zero configuration options. (Zero options == "dead simple") If you want the whole slick package in a WordPress plugin, Ken has a paid version for that.
Slides are set to a fade transition and change every 7.5 seconds. The slick javascript and basic slick styling is pulled in from the jsDelivr CDN. If you are inclined, you can further style things in your theme's CSS.
- Update WP Version compatibility
- Add OSX hidden files to
.gitignore
- Fix loading of asset dependencies
- Fix warnings thrown by undefined constants in config