Posts Widget
The Posts widget lists posts in a grid. It is the heart of every Archive template, and it also shows related posts under an article or the newest posts on the home page.
Query
| Posts | What is listed |
|---|---|
| Current query (archive, blog, search) | The posts of the archive the visitor opened – a category, a tag, the blog or the search results. Use it in Archive and Search Results templates. |
| Related to the current post | Posts of the Same category, Same tag or Same category or tag. Without related posts the newest ones are shown. |
| Custom | Your own list: Post type, Number of posts, Category or tag IDs, Order by (date, last modified, title, comments, menu order, random), Order and Skip posts. |
Switch on Exclude the current post so a post does not list itself, and set the Text when nothing is found.
Layout
- Card – the Built-in card or one of your Post Card templates.
- Columns, Column gap and Row gap – per device.
- For the built-in card: Image with size and ratio, Title tag, Date and author, Excerpt with the number of words, and the Read more text.
Pagination
None, Numbers or Previous / Next. With the current query the pagination follows the archive, so /category/news/page/2/ shows the second page of that category.
The number of posts per page of an archive comes from Settings › Reading › Blog pages show at most when the widget uses the current query.