Blog · Staff guide
Show recent posts on a page
Add the Recent Blog Posts section to the homepage or any page
The Recent Blog Posts section shows your newest published posts on any page built with the page builder.
The Blog module must be enabled. Adding sections follows the usual page rules (page sections).
Add it
- Open the page in the page builder and add a section.
- Choose Recent Blog Posts (category Blog).
- Fill in the fields below and save.
| Field | What it does |
|---|---|
| Title | Heading, default "From the blog" |
| Subtitle | Optional text under it |
| Posts to show | 1 to 12, default 3 |
| Card style | Featured cards, Small cards, Full list or Titles only |
| Category slug | Only posts in this category. Leave empty for every post |
| Featured posts only | Only posts marked Featured Post |
| Link to the blog | Shows a Read the blog link to /blog |
What it shows
Only published posts whose publish date has passed, newest first. Drafts and scheduled posts never appear. With no matching posts it shows "No posts yet." The result is cached for about a minute, so a new post can take a moment to show.
Templates
The look of post cards, the article, comments and the sidebar belongs to the template. A template can redraw the pieces blog.postCard, blog.postArticle, blog.comments and blog.sidebar. The blog index and the post page are page types, so you can arrange sections around them. See pages.