The Archive Posts Widget displays a list of any posts within Archive templates, which are created in Templates > Theme Builder > Archive.
Note: The number of posts per page is controlled from the WordPress Reading settings (Dashboard > Settings > Reading)
Content
Layout
- Skin: Select a pre-designed skin, either Classic or Cards
- Columns: Set how many columns will be displayed, from 1 to 6
- Image Position: Set the image position, relative to the content. Options include: Top / left / right / none
- Masonry: Slide on or off
- Image Resolution: Set the size of the image, from thumbnail to full
- Image Ratio: Set the exact ratio of the images
- Image Width: Set the exact width of the images
- Title: Choose to show or hide the title
- Title HTML Tag: Select the HTML tag to use for the title, from H1 to H6, or div, span, or p
- Excerpt: Choose to show or hide the excerpt
- Excerpt Length: Choose the length of the excerpt, setting the exact amount of words displayed
- Apply to Custom Excerpt: When toggled, this will override the length of the manual excerpt written in the WP editor
- Meta Data: Select the meta data to be displayed in the widget. A click on the field opens the list of options. The options include author, date, time and comments
- Separator Between: The separator may be customized by entering a value or using a Dynamic Tag
- Read More: Show or hide the Read More button
- Read More Text: Customize the Read More text by entering the value in the field or by using Dynamic Tags
- Automatically Align Buttons: When toggled, this will automatically align the Read More button to the bottom of the wrapper. This is useful when the post titles exceed more than one line
- Badge (Only available if Cards skin is selected): Slide to YES to show badge
- Badge Taxonomy (Only available if Cards skin is selected): Select the taxonomy to be used for the badge, choosing from Categories, Tags, etc.
- Avatar (Only available if Cards skin is selected): Show or Hide the Author avatar
Note: When Elementor displays a post, if it has no excerpt, Elementor automatically generates an excerpt from the post’s content. The Excerpt Length option allows you to control the length of this auto-generated excerpt. However, the excerpt length only applies to posts in which no manual excerpt has been entered. The length specified in the Elementor widget is ignored if a manually-generated excerpt exists for a post.
Pagination and AJAX Load More
Pagination Options: From the dropdown selector choose how you wish to paginate the results. Options include None, Numbers, Previous/Next, Numbers + Previous/Next, Load On Click, or Infinite Scroll.
AJAX Load More is the ultimate design technique to display large amounts of content in an intuitive and appealing way either by loading more posts on click or enabling infinite scroll. Infinite scroll is a web design technique that loads content seamlessly as the user scrolls down a page. Content is automatically and continuously loaded at the bottom of the page, eliminating the need for pagination. You can use this on the posts widget by selecting the Load on Click or Infinite Scroll pagination options.
If Numbers Is Selected
- Page Limit: Enter the number of post you wish to display
- Shorten: Toggle the selector if you wish to shorten the display
- Alignment: Choose between Right, Center, and Left
If Previous / Next Is Selected
- Page Limit: Enter the number of post you wish to display
- Previous Label: Enter the text you would like to display after the carat
- Next Label: Enter the text you would like to display before the carat
- Alignment: Choose between Right, Center, and Left
If Numbers + Previous / Next Is Selected
- Page Limit: Enter the number of post you wish to display
- Previous Label: Enter the text you would like to display after the carat
- Next Label: Enter the text you would like to display before the carat
- Shorten: Toggle the selector if you wish to shorten the display
- Alignment: Choose between Right, Center, and Left
If Load On Click Is Selected
- Spinner: Choose to display a loading spinner by ticking the icons
- Button Text: Enter the text you wish to display on the button
- Alignment: Choose the alignment options by selecting the icon
- Icon: Choose an Icon for your button from the library or upload your own
- Icon Spacing: Use the slider or enter a value in the field
If Infinite Scroll Is selected
- Spinner: Choose to display a loading spinner by ticking the icons
Reload Archive Posts individually
By default, if you have more than one Archive Posts widget on a page, all the archives will refresh to the same page. For instance, if you have one archive containing news stories and another containing sports stories, when visitors move to page two of the politics loop, the sports archive will automatically refresh to page two.
- Toggle Individual Pagination to On to have all loop grids on a page refresh individually.
Advanced
- Nothing Found Message: Enter text or use a Dynamic Tag value for the message to be displayed when there are no posts to show.
Style
Layout
- Columns Gap: Set the exact gap between the columns
- Rows Gap: set the exact gap between the rows
- Alignment: Set the alignment of the content in the widget as left, center or right
Card (Displayed only if Cards skin is chosen)
- Background Color: Choose the background color of the card
- Border Color: Choose the border color of the card
- Border Width: Set the thickness of the border around the card
- Border Radius: Set the roundness of the border corners of the card
- Horizontal Padding: Set the horizontal padding of the card’s content
- Vertical Padding: Set the vertical padding of the card’s content
- Box Shadow: Choose Yes to apply a pre-defined box shadow to the card
- Hover Effect: Select a hover effect, either None or Gradient
- Meta Border Color: Choose the border color above the meta data
Image
- Spacing: Set the exact spacing between the image and the content
- CSS Filters: Adjust the image style by changing the CSS Filter scales for Blur, Brightness, Contrast, Saturation, and Hue settings
Badge (Only available if Cards skin is chosen)
- Badge Position: Align badge to the left or right of the card
- Background Color: Choose the background color of the badge
- Text Color: Choose the text color of the badge
- Border Radius: Set the border radius to control corner roundness
- Size: Set the size of the badge
- Margin: Control the distance of the badge from the top and side of the card
- Typography: Set the typography of the badge text
Avatar (Only available if Cards skin is chosen)
- Size: Set the size of the avatar.
Content
Title
- Color: Set the color of the titles
- Typography: Set the typography of the titles
- Spacing: Set the spacing between the title and the content
Meta (Only available if Cards skin is chosen)
- Color: Set the color of the meta data
- Separator Color: Set the color of the meta data separator
- Typography: Set the typography for the meta data
Excerpt
- Color: Set the color of the excerpt
- Typography: Set the typography of the excerpt
- Spacing: Set the spacing between the excerpt and the read more
Read More
- Color: Set the color of the read more
- Typography: Set the typography for the read more text
- Spacing: Set the spacing between the read more text and the bottom of the post box
Pagination
- Typography: Set the typography for the pagination text
- Color: Choose the color for the pagination text for Normal, Hover, and Active states
- Space Between: Set the spacing between the pagination elements
Nothing Found Message
- Color: Choose the color for the message
- Typography: Set the typography for the message