The Posts Slider shortcode is a great way of displaying the latest posts from a category in an attractive and modern way.
To add a posts slider to a page, post or widget simply add the code below and customise its attributes to suit your needs.
[posts-slider category="science-department" posts_per_slide="2" hover_colour="#4cc4e5"]
Attributes
category
This is the slug for the category you wish to use for the slider
posts_per_slide
The number of posts displaying on each slide, this defaults to 3 but can be set as either 1,2,3 or 4
hover_colour
This should be a colour hex code and will be the colour accent used when hovering and clicking on posts in the slider