Post Timeline block allows you to choose Custom Post Type and displays them in the timeline. It provides an option to select available post types as posts or pages.
How To Add The Post Timeline Block
Open a page or a post and click on the plus icon to add a new block and look for the Post Timeline or you can search for it if it doesn’t pop up quickly for you.
By default, you'll get the below design-
How To Configure The Post Timeline Block
To configure the content of your Post Timeline, switch to the ‘Content’ tab.
Taxonomy: Select Tags or Categories to filter the posts from. If you select Tags, you will see another option to select the tags of which you want to display the post, and if you select the category, you will see the Category option to select the category of which you want to display the post.
Post Timeline Settings
Under the Post timeline settingstab, Content Type option allows choosing post types – posts or pages.
Number of items allows you to select the number of posts to be displayed on the timeline.
Order by option allows you to order posts according to date, title, random, or menu order.
Order the posts in ascending or descending order.
Number of items to offset allows you to choose how many items to skip.
Border Radius option is available to set the border radius for posts.
Orientation for the icon and a post timeline can be set to Center, Left, Right from Orientation.
Arrow Alignment can be set vertically top, bottom, or center with respect to timeline card.
Stack on option allows you to choose on what breakpoints the columns will stack. It can be set to Tablet or Mobile.
Post Timeline Content
Display Section Title - Hide or Display a title on top of the post timeline.
If you choose to display the title, an input box will appear for you to write a title.
Display Featured Image - Hide or Display featured image of post/page if there is one.
Image Size - Set the image size to Full, Thumbnail, Large or Medium.
Display Title - Hide or Display the title of the post.
Display Author - Hide or Display the name of the author of the post.
Display Date - Hide or Display the published date of the post.
Display Excerpt - Hide or Display the excerpt of the post.
If you choose to display the excerpt, a slider will appear for you to select the excerpt length of the post.
Display Continue Reading Link - Hide or Display a continue reading link for the post.
If you choose to display the link, an input box will appear for you to customize the continue reading text.
Open link in new tab - Toggle on to open the continue reading link in a new tab.
Post Timeline Markup
Post Timeline Section Tag - You can select the tag that you want to allot to the grid section such as div, header, section, main, aside, footer.
Post Title Heading tag - You can select the tag that you want to allot to the section title from H2 to H6.
Choose an icon for the connector from a number of options.
Icon Size - Increase or decrease the size of the icon from here.
Background Size - Increase or decrease the size of the element’s background.
Border Width - Set a border to the connector element from here.
Connector Width - Set the width of the connector line with this option.
Connector Color Settings - This option has two tabs, Normal and Focus. This allows you to customize the connector by setting colors for line, icon, background, and border. Colors applied on focus will be reflected in the connector as you scroll down the timeline.
How To Style The Post Timeline Block
Switch to the ‘Style’ tab to customize every element of the Post Timeline block.
Under the Colors tab, color options are available for Blog Post Background, Heading, Author, Content.
CTA Color Setting - This option allows you to set colors for Continue Reading Text, Background, and Border under Normal and Hover conditions.
Under the Typography tab, options for font family, font size, font-weight, and line height are available for Date, Heading, Author, Content, and Continue Reading Text.
Space can be managed for the content of the timeline card from the Paddingtab.
Spacing tab offer options to customize the spacing for Block, heading, author, and Excerpt. Also, vertical and horizontal space can be adjusted.
Button Box Shadow
You can give box-shadow to the CTA button with a number of options available for customization such as color, blur, spread, position, etc.