Latest Posts
A popular item to have on a website is your latest news items – probably in a summary format. What you ideally want is for these to generates automatically, so when you add a new item you don’t have the additional work of also updating the home page. Well, WordPress has blocks that do just that!
Option One: Feed
On the page you want to add you latest news to go to the block menu. Select the ‘Patterns’ tab and then ‘Posts’. For this tutorial we are going to use the first option in the previews ‘Standard’ but you can scroll down and explore options.
When this gets added to the page it will be in the default ‘List View’ which displays it as one column.
What if you want more control over what gets displayed? The block settings allow you to change the order, and whether to include, exclude or only show sticky posts.
The controls also have filters, the one you would most likely use is Taxonomies (taxonomies in WordPress is the fancy name for categories and tags).
What if you wanted four (or two) columns instead of the default three? You will find those controls in the block itself.
Option two: Latest Posts block
Again the first thing we are going to do is change to the grid view so that the content is displayed in three columns.
At the bottom of the block settings are the controls for how many items and columns are to be displayed.
And that’s it! Two ways on how you can dynamically show new posts you make in the front page, which keeps this page up-to-date without any additional work.
Should you need assistance setting up the Latest Posts feed, or any other aspect of WordPress, the Web Team at Nerd Crossing are here to help!