What does it do?

The posts slider shortcode allows you to display specified a post category on a page, this is useful for, for example, displaying posts assigned the "front-page-news" post category.

How do I use it?

To embed this shortcode into the page, you need to copy the following HTML:

[latest-news category="front-page-news" default_image=""]

Rules:

  • category="" - determines the post category to be displayed.
  • per_slide="" - determines the number of posts to show.
  • post_type="" - determines the number of posts to show.
  • default_image="" - sets the default image for the posts.

Once you have copied this, paste it into the page in the text editor view, click update/publish, and then refresh the page.