Starting from version 6.2.10 of the Post Timeline plugin, you can limit the number of visible lines for each timeline entry and automatically include a “Read More” button to expand the content. This feature is helpful for controlling the display of long entries while keeping the timeline clean and concise.
Usage #
To limit the number of visible lines, use the max-visible-lines
attribute in the shortcode. For example:
[post-timeline max-visible-lines="5"]
This feature, introduced in version 6.2.10, ensures that your timeline remains concise and organized, with the option for users to view more if they are interested.
Notes: #
- The
max-visible-lines
value can be adjusted to suit your needs. - If the content does not exceed the specified number of lines, the “Read More” button will not appear.