How can we help?

Get help straight from our team...
Article suggestions
  1. Home
  2. smartsites
  3. Posts Slider Shortcodes

Posts Slider Shortcodes

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"]



This is the slug for the category you wish to use for the slider

The number of posts displaying on each slide, this defaults to 3 but can be set as either 1,2,3 or 4

This should be a colour hex code and will be the colour accent used when hovering and clicking on posts in the slider

Thank you for leaving a rating!
Did you find this article helpful?
0 out of 0 people found this article helpful so far
Can't find what you're looking for? Get in touch