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:
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:
The above addition, in the shortcode, will change the number of slides to appear in the Horizontal timeline.