Home>Widgets Bundle>Recent Posts

Recent Posts

Drive traffic to your latest content with a visually appealing, fully customizable recent posts showcase.

Requirements

To make use of this widget, go to PluginsSiteOrigin Widgets to activate the SiteOrigin Recent Posts Widget.

The Recent Posts Widget is ready to be used anywhere:

Page Builder: Insert widgets in Page Builder by SiteOrigin in either the Classic Editor or Page Builder Layout Block in the Block Editor.
Block Editor: 100% Block Editor compatible. Insert widgets using the SiteOrigin Widgets Block featuring a live widget search form.
Theme and Plugin Widget Areas: Insert widgets into any theme or plugin widget area.

The following settings are available in the Recent Posts Widget:

Title
Optionally add a widget title.

Settings

Featured Image
Display the post featured image.

Post Title
Display the post title.

Post Title HTML Tag
Select the post title HTML tag.

Open Post in New Tab
Optionally open the post link in a new tab.

Post Date
Display the post published date.

Post Date Format
Select the post date format.

Post Content
Optionally display post content. Choose between None and Excerpt.

Excerpt Length
Enter the excerpt length; defaults to 10 words. Setting conditionally displayed if Post Content is set to Excerpt.

Post Excerpt Trim Indicator
Enter the post excerpt trim indicator. Defaults to .... Setting conditionally displayed if Post Content is set to Excerpt.

Read More Link
Display a read more link at the end of the post excerpt. Setting conditionally displayed if Post Content is set to Excerpt.

Design

Post

Bottom Margin
Enter a post bottom margin. Defaults to 18px.

Placement
Select the featured image placement. Choose between Left, Right, Above, or Below.

Gutter
Enter a gutter value, the space between the featured image and the post content. Defaults to 12px.

Max Image Size
Enter a featured image maximum width. Defaults to 72px.

Padding
Optionally enter featured image padding.

Border Style
Optionally select a border style. Choose between None, Solid, Dotted, Dashed, Double, Groove, Ridge, Inset, and Outset.

Border Color
Select a featured image border color. Setting conditionally displayed if Border Style is set to a value other than None.

Border Thickness
Enter a featured image border thickness. Setting conditionally displayed if Border Style is set to a value other than None.

Post Title

Font
Select the post title font family.

Font Size
Select the post title font size.

Color
Select the post title font color.

Hover Color
Select the post title hover color.

Post Date

Font
Select the post date font family.

Font Size
Select the post date font size.

Color
Select the post date font color.

Post Excerpt

Settings section conditionally displayed if Post Content is set to Excerpt.

Font
Select the post excerpt font family.

Font Size
Select the post excerpt font size.

Color
Select the post excerpt font color.

List Style

Icon
Select a list icon style. Choose between None, Image, Disc, Circle, or Square.

If Image is selected, the following settings will be available:

Image
Upload or select a list icon image.

Indent
Enter a list icon indent; the spacing between the list icon and the list.

Max Icon Size
Enter a maximum icon image size.

Posts Query

Post Type
Choose between All, Posts, Pages, or any other available post types in your WordPress installation.

Taxonomies
Specify taxonomies to retrieve. Taxonomies are groups such as categories, tags, posts, and products. Click on the field and use the provided search field to search for your taxonomies or browse the abbreviated list under the search field.

Taxonomies Relationship
The relationship between taxonomies. Choose between OR or AND. OR requires posts to have at least one of the specified taxonomies. AND requires posts to have all of the specified taxonomies.

Date Selection Type
Select a range between specific dates or relative to the current date.

Dates
Select a From and To date.

Order By
Choose how to order your posts. The following options are available:

  • No order
  • Post ID
  • Author
  • Title
  • Published date
  • Modified date
  • By parent
  • Random order
  • Comment count
  • Menu order
  • By meta value
  • By numerical meta value
  • By include order

Order Direction
Choose between Ascending or Descending.

Posts per Page
Optionally enter the number of posts to display per page. If a value isn’t entered, this setting will fallback on the global setting at SettingsReading.

Sticky Posts
Choose between Default, Ignore sticky, Exclude sticky, and Only sticky.

Default: Sticky posts are displayed at the top of the post loop. If an offset is applied via the Additional field, it won’t be applied to the sticky posts. This is the WordPress default behavior.

Ignore sticky: Sticky posts won’t be moved to the top of the post loop but will still be displayed in their normal published position.

Exclude: All sticky posts will be excluded from the post loop.

Only sticky: Only sticky posts will be displayed. All other posts will be removed.

Additional
Additional query arguments. See query_posts.

Below you’ll find a few examples of additional query arguments you might use.

Don’t Display the Most Recently Published Post:
offset=1

* If Posts per page is set to -1 offset is ignored.
* If you have any sticky posts present offset won’t work 100% as expected, the Post Loop Widget will count the sticky posts as offset but still output them so it’ll appear as though nothing changed. Set Sticky posts to Ignore sticky to remove sticky posts from the loop.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More