Post Timeline Documentation

How to Change the Number of Slides in Horizontal Slides?

To change the number of slides in a horizontal timeline slider in a WordPress post using the "post-timeline" shortcode. To do this, you can use the "slides" attribute in the shortcode to specify the number of slides you want to display, the slides attribute has been added since version 6.0.14, here's how you can use it:

  1. Edit the WordPress post or page where you have the horizontal timeline slider.
  2. Locate the "post-timeline" shortcode within your content. It should look something like this:

To change the number of slides, add the "slides" attribute to the shortcode and specify the desired number of slides. For example, if you want to display 2 slides in the horizontal timeline, you can modify the shortcode like this:

[post-timeline slides="2"]

The above addition, in the shortcode, will change the number of slides to appear in the Horizontal timeline.