Getting started with Timeline and History Slider
Timeline and History Slider adds a Menu tab in WP Admin side with the name “Timeline Slider” where you can add a Title, Timeline Content, Timeline Image, edit and delete.
Screen shows “Timeline Slider” tab in the left side and all timer content added
This plugin works same like WordPress post section where you can add title, content and featured image. To add a new featured post, just need to follow few steps.
- Go to Timeline Slider Tab and click on Add New
- Add title, Timeline content, Timeline image and update
Bellow screen shows how to add a Timeline
How to display and shortcode
Display a Timeline is very simple. Just add the following shortcode on any page:
You can also use template code to display image slider.
<?php echo do_shortcode('[th-slider]'); ?>
Following are Slider Parameters:
Select the design. right now there are 2 designs. design-1 and design-2
Pagination and Arrows:
[th-slider dots="false" arrows="false"]
Display dots and arrows or not. Values are “true OR false”.
Autoplay and Autoplay Interval:
[th-slider autoplay="true" autoplay_interval="100"]
Enable Autoplay or not. You can set Autoplay Interval.
You can set slider speed.
Limit define the number of images to be display at a time. By default set to “-1″ ie all images. eg. if you want to display only 5 images then set limit to limit=”5”.
Display slider by their category ID. You can pass multiple ids by comma separated.
Slider Fade effect. By default effect is slide. If you set fade=”true” then effect change from slide to fade.
Updated On 26 Oct 2016