Related Posts in WordPress: What Are They and How to Add Them to Your Site

Wondering about related posts in WordPress? In this post, we tell you what related posts are, what are the benefits of using them, and how to set them up on your WordPress site.

Let’s get this thing going:

What related posts in WordPress are

The name itself kind of gives it away, but it doesn’t reveal the entire story behind related posts. In other words, there are some important details under the surface here!

Let’s start at the beginning:

When talking about WordPress websites, the term “related posts” usually refers to a section on your single post pages (the page that presents the contents of a single blog post). That section presents a list of other posts that are contextually related to the one you’re currently reading.

Related posts in WordPress

How does a list of related posts in WordPress work?

There are a couple of models:

  • Some bloggers like to create their lists of related posts by hand. This means picking the exact posts that should be displayed under any given blog post. As you’d imagine, this can take a lot of work, and it grows exponentially the more posts you have on the blog. However, it is still a very doable approach for small sites that are purpose-built to cover one narrow topic.
  • Related posts are often put together automatically by an algorithm.

The latter approach is much more popular and much more approachable for most bloggers. Having your list of related posts put together automatically not only means that you’re not spending time doing it yourself, but you can usually expect the list to be compiled based on some common characteristics of the posts.

Most commonly, the list is put together either based on the category that the post and its related posts are under or the tags assigned to them.

Additionally, some plugins try to employ AI to find related posts more efficiently and make them fit better. However, this sort of solution often ends up consuming a big amount of the web server’s processing power, up to the point where some web hosts even openly prohibit using related posts plugins entirely.

Why use related posts in WordPress

Okay, so you know what related posts are, but why should you be even using them in the first place?

There are two main reasons:

  • Improved user experience
  • SEO benefits

Let’s start with the former. No matter the purpose you’ve built your website for, be it for casual blogging or a serious business project, you probably want your readers to stay on the site for as long as possible. The more articles they read, the more opportunities you have to either earn additional advertising dollars on their presence or sell them one of your products or services.

Related posts in WordPress help you achieve this goal. Related posts are commonly placed right after the body of a blog post. This means that as soon as the reader is done consuming a given piece of your content, they’re immediately invited to check out some of the other stuff you have on the site. Since the content that’s being recommended is contextually related, there’s a high chance the person will be interested.

Then, there are SEO benefits. The name of the game is internal linking. The quantity and quality of your internal links is one of the rankings factors for Google.

In fact, internal links are a very effective way to show Google how the content on your site is related and how it flows from post to post.

This is where related posts come into play. By definition, they’re always related to the current post, and they link to at least a couple of other posts. This means that you’re building a nice web of interlinked posts within your site. It is exactly what Google likes to see!

How to set up related posts in WordPress

The how-to part is pretty straightforward (if you have the right tools, that is), so first let’s start by listing what a good related posts section should look like:

  • There should be at least three related posts in the section. To build an effective network of interlinked posts, you should have at least three posts in each related section. This also gives the reader a choice of where they want to go next.
  • Have a readable and clickable headline for each post. This one is obvious.
  • Use featured images to identify the posts visually. While showcasing just the headlines of your posts is good enough, if you show their associated images (aka featured images) as well, this gives the posts some needed visual separation.
  • Add some meta elements of your choosing. These are things like the published date of the post, the date of the last update, the author, the number of comments, etc. Though keep in mind that you shouldn’t be using all of that at the same time. Pick just the elements that make the most sense for your site.

By using featured images, not only can you visually identify your posts, but you can also save time on editing images for each individual post since the featured image can be chosen and edited beforehand to fit the overall look and feel of your website.

Adding related posts in WordPress

For a demonstration on how to add related posts in WordPress, we’re going to use our Blocksy theme. It comes with the related posts functionality for free, and it’s easy to use.

To begin, visit any of your blog posts, and click on Customize in the top admin bar:

Customize

In the sidebar, scroll down and click on Single Posts under Post Types:

Single Posts settings

Toggle on the Related Posts option:

Toggle related posts on

Then, click on that small arrow right next to the toggle. This will take you to the related posts options:

Related posts options

Taking it from the top:

  • The General and Design tabs. The Design tab is where you can tweak some of the font colors of your related posts presentation. The General tab is where most of the magic happens.
  • Posts Number. This is where you can pick how many related posts in WordPress you want to have shown in total and in how many rows.
  • Related Criteria. This is how Blocksy will decide what’s related. The available options are Category and Tag.
  • Featured Image. Pick whether to display a featured image for related posts or not.
  • Image Ratio and Image Size. A handy setting to make sure that the featured images fit next to one another.
  • Meta Elements. This is where you can pick what other piece of info you want to have showcased alongside each related post. You can choose from things like the published date, last update, categories, tags, author.
  • Module Title and Module Title Tag.
  • Module Placement. Two options here: Separated and Contained. There’s a quick explanation on the page as to what those terms mean, but it’s best if you just click on both of them and see what happens in the preview window.

Spend a couple of minutes on this screen, experiment with some of the options until you get an effect that matches your site and design. When you’re done, don’t forget to click on the main Publish button in the Customizer interface.

πŸ‘‰ If you want to learn more on how to get started with Blocksy, read this. We have some cool new starter designs for yoga sites, ecommerce stores, and recipe sites. Check them out.

What do you think of the concept of related posts in WordPress? Have you tried adding them to your site yet?

Karol K
Karol K

Karol K. is a WordPress figure-outer, blogger, and the author of "WordPress Complete" (Packt/Amazon). Hit him up on Twitter (@iamkarolk) if you'd like to connect.

Articles: 11

8 Comments

  1. Hey there, thank you for the article!

    I have the following question: Can you make the related post field to show random posts. Currently, you see the previous posts published. But I believe it will be better if you can show different (random) posts when a page loads.

  2. It would be nice if we had the β€œexcerpt” option and that we can choose how many characters

    • Unfortunately there is no related posts widget for sidebars but you can use the “Posts” widget and display some recent or popular posts instead.

  3. Hi there, how do the category or tag filters work when an article has more than one category/tag?

    It would make sense to either prioritize the articles that have all categories/tags in common or those where the main category is a match. Right now I’m seeing a weird mix that doesn’t really make sense in most cases.

    I’d like to see more filtering options and the ability to set this into more detail.

Leave a Reply

Your email address will not be published. Required fields are marked *