Do you want to display recent posts on your WordPress site?
Displaying recent posts on a site or blog can be beneficial in many ways. The visitors can easily navigate through newly published content after reading older posts.
But the question is how can we show WordPress Recent Posts with thumbnails?
The PostX Gutenberg blocks plugin can provide a one-stop solution for recent posts no matter where or how you want to showcase them. The Query Builder of the feature of PostX offers not only recent posts but also popular posts, related posts, most commented posts, etc.
Introducing the WordPress Query Builder
Before start displaying the recent posts on your WordPress site, I would like to introduce the WordPress Query Builder of the PostX plugin.
It is a complete solution for sorting posts of News Magazine sites or blogs by which you can increase or decrease the number of posts, display posts from specific or multiple categories or tags, and sort posts by different criteria.
However, for this blog post I am going to discuss mostly the Quick Query features:
Popular Posts: Popular posts refers to the most viewed posts in WordPress. There are three types of popular posts available in the quick query option, most viewed whiting 1 day, 7 days, and 30 days.
Random Most: If you sort the posts using this quirky the visitors will see random posts from your blog.
Latest / Recent Posts: It lets you showcase the latest / recently published posts of your site/blog. There are two types of criteria available for the latest posts. We can either sort the latest posts by publishing that or last modified that. If we choose the modified date option then the older posts that is modified recently will be displayed along with the recently published posts.
Oldest Posts: Oldest posts are the alternative to the recent / latest posts. With this option, we can display the oldest posts on our site.
Sticky Post: We can also display the sticky posts using the quick query feature. So that, the posts that we have marked as sticky while editing/creating posts will be displayed.
Alphabetical ASC/DESC: It helps us to display the posts of our site in alphabetical ascending and descending order.
Most Commented Posts: Most comments also known as most discussed are those posts that have the most number of comments.
Related Posts: Related posts are displayed on the single posts of a site/blog. There are multiple criteria available to sort related posts. We can sort them by category, tag, or based on both at the same time.
How to add Recent Posts to WordPress Homepage
As I have already discussed the quick query feature of the Query builder it’s time to start using it.
The PostX plugin not only helps you to display recent posts but also creates a complete home page. So, let me show you how to create a custom home page and showcase recent / latest posts along with all other posts.
First of all, go to the page section and click on add new which will be the custom home page of your site. Give a name to it and start editing the home page.
The easiest way to customize the home page is to import starter packs from the block library of the postX.
The starter packs are the combination of multiple post blocks which include post grid blocks, post listing, post slider blocks, etc.
So, you can also use your own combination of post blocks and customize them as well while creating a custom page.
After adding desired blocks/starter packs, it’s time to showcase recent posts. For that follow the below steps-
- Decide and select the block where you want to display recent posts.
- Click on Settings and navigate to Query settings.
- Click on Quick Query.
- Choose any of the two latest post options.
- Update the Home Page. That’s all.
From now on, only the latest / recent posts will be displayed on the selected block.
Recent Posts Widget with thumbnails on the Sidebar
Displaying posts widgets on the sidebar is a common practice by bloggers and site owners. WordPress has a default recent posts widget that shows the titles of the posts.
But modern-day bloggers want to show thumbnails as well. So what to do?
There are two ways to fulfill the requirements we can either hire a developer to write codes for us or install a Recent Posts Widget with thumbnails plugin.
But hiring a developer requires a lot of money and increasing the number of plugins can dramatically make our site slower than usual.
Thanks to the Widget Ready Update, PostX users can also showcase recent posts on the sidebar with thumbnails.
I still remember why the update was released in a hurry. One of our PostX Pro users send us a mail,
“ I have recently purchased the PostX Pro and I really like the Quick query feature but how do I show recent posts in the sidebar in WordPress?”
So, after releasing the update, the PostX users are able to display the posts widget with thumbnails on the sidebar. Here’s how:
- From your WordPress Dashboard, Go to Appearance > Widgets.
- Add Gutenberg Block of PostX, for example, Post Grid #1.
- Change the name of the Block to Latest / Recent Posts.
- Change the default design with pre-made layout/designs. (Optional)
- Go to Settings > General and decrease the number of columns to 1.
- Hide/or undie post details such as heading, title, meta, category, excerpt, etc.
- Go to Query options and click on Quick Query.
- Sort the posts as the latest posts with the published date or modified date.
- Choose the number of posts.
- At last, Click on Update and check how it looks.
Note: You can also display the Recent Posts Widget on the footer by following the same way.
How to Display Recent Posts in Single Posts (Optional)
Displaying recent posts in single posts is a not common practice. But I heard from our Support Engineer that, some of the bloggers use the Gutenberg post blocks to their single posts as well.
It has some advantages from an SEO standpoint which I will discuss in a bit. However, you can skip to the next section of this blog post if it you are not interested.
So, no doubt you can showcase the recently published/updated posts in a single post if you wish to. For that:
- Click on the Plus Icon.
- Choose your Desired Blocks.
- Customize how you want to showcase the post.
- Sort the post using the Quick query.
The presentation of the posts for this section is totally up to you. That’s why I am not going to the customization details.
SEO Advantages of Recent Posts
The reasons behind showcasing recent posts are not only impressing the visitors. It also has a dipper connection of On-Page Seo.
So, instead of spending hundreds of hours finding collaboration opportunities and sending thousands of emails to acquire backlinks you can make the best use of displaying posts to rank higher on Google.
I would recommend displaying all these types of posts in different places on your blog. So that, you can get the below benefits:-
All bloggers know that interlinks are one of the most important ranking signals. That’s why we always add interlinks to the older posts of our blog. But what about recently published posts?
If you add the recent posts widget on the sidebar or on the footer, these posts will dynamically be added to all the pages which have a sidebar and footer. So that, the latest posts will get interlinks from all of those pages.
The method of displaying recent posts not only adds numerous backlinks but also indexes the posts faster than usual. How?
If you properly know how Google search works, you should know that the Spiders (Software generated by google) follows links to explore pages. And, these spiders often come to the posts/pages of our site that are getting regular traffic from Google Search.
So having links from those pages can surely help to index recently published posts faster. It also boosts rankings as well.
Dwell time refers to the average spending time of the visitors. Showcasing recent posts can encourage the users to click on the links and read more blog posts resulting in increasing the average time on site.
And, I would not need to explain how the increasing dwell time can help to increase post ranking on the SERP.
Bounce rate refers to the percentage of visitors who go away from the site viewing only one page.
Why is my bounce rate higher?
If yo the same question in your mind, the answer is simple your not offering anything else after reading a blog post. So, in order to decrease the bounce rate, we need to encourage the users to explore more posts on our site. Showcasing recent posts can be one of the most effective ways to do that.
That’s all about the WordPress Recent Posts. Now start optimizing your site by making the best use of the quick query feature of the PostX. If you have queries or suggestions feel free to comment below.