Resources     Blog  

  1. Home
  2. WordPress Tutorials
  3. How to Show Related Posts in WordPress

How to Show Related Posts in WordPress

Are you looking for a way to show related posts in WordPress? Related posts make it easy for visitors to find similar content that they enjoy. Visitors who find what they are looking for quicker are less likely to leave your website, thus reducing your bounce rate.

Overall, having more content that your visitors are interested in just a click away is a good design. In WordPress, related posts are best added once you have built up and diversified your content pool.

Today, I will demonstrate how to show related posts using two different plugins.

Why do you need to display related posts on the same page when you have all of your content easily accessible?

In most cases, you will probably try to spread out your content evenly across the different categories. While this makes sense in theory, in reality, your visitor is probably only interested in one type of content.

Once they get what they need or want, they are gone. Thus, displaying related content has a higher chance of keeping them engaged on your website for longer.

Why is this the case? Surely if they like some of my content, they should like all of it, right?

It really doesn’t have anything to do with the content itself. In reality, most visitors are in a rush to find what they are looking for. This is thanks to the rise of smartphones. Half of all website traffic comes from mobile devices that are looking for a quick fix.

This is why your website needs to be mobile-friendly.

I will cover two plugins, Yet Another Related Posts Plugin (YARPP) and Same Category Posts. These are both great choices if you are looking to display WordPress related posts, but have some key differences.

Let’s begin with YARPP.

Method 1: Using YARPP

If you are looking for a more powerful and robust option, YARPP is the plugin for you. It is fully customizable and utilizes an advanced and versatile algorithm to show related posts. It is a better option for larger websites because the algorithm becomes more accurate as the content pool increases.

Let’s start by clicking on Plugins and selecting the Add New option on the left-hand admin panel.

Add New

Search for Yet Another Related Posts Plugin in the available search box. This will pull up additional plugins that you may find helpful.

Scroll down until you find the Yet Another Related Posts Plugin plugin and click on the “Install Now” button and activate the plugin for use.

Show Related Posts with YARPP

On the left-hand admin panel click on Settings and select the YARPP option. This will pull up the main settings page.

Step 2: Setting Up YARPP

Remember how I said YARPP advertises an advanced algorithm? Setting up YARPP consists of telling the algorithm what it should and shouldn’t consider when making choices to show related posts. Every website has a different amount of content, and you will need to select what content to choose.

Deciding what content to choose from is actually really simple. Under “The Pool” section, you select what categories and tags you would like to select content from and how recent they should be. You do not have to select all of your content, but you can if it better suits your website.

Show Related Posts Pool

Once you have your content pool selected, you need to tell the plugin what it should consider when deciding on content that is related. The first thing you must decide on is the Match Threshold. This is a number that the plugin uses to determine how strict it should be.

The higher the number, the more strict the plugin will be in ensuring that content is closely related. The lower it is, the less strict it will be and you will start seeing content that is not related, just so something appears. Deciding on a number is different for every website and I would test out what each number works best for you.

Finally, you need to tell the plugin to consider or not to consider when deciding relatedness. For example, you could just select categories and any content in that category can be shown as a related post. Pick what works best for you.

The third section consists of your display options. Again, select what works best for you, but remember the plugin does add a widget you can use as well.

Once you have finished setting up the plugin, click on the “Save Changes” button.

Congratulations, you have successfully set up the YARPP plugin.

Note: If you see a “no related posts” message, you need to tweak your settings. Most likely your Match Threshold number is too high. Otherwise, the system will not show related posts.

Method 2: Using Same Category Posts

If your website does not have a lot of content to choose from yet, the Same Category Posts is your best option. It will simply display posts that are in the same category, which is usually exactly what visitors are looking for.

First off, you will need to install and activate the plugin. Once that is taken care of, click on Appearance, and select the Widgets option.

Widgets

This plugin doesn’t have a settings page. Instead, it simply adds a new widget to your website. The widget handles everything, which makes this very easy to set up.

Locate the Same Category Posts widget and add it to your sidebar area.

Same Category Posts

The widget has four sections of options. The first is the title. Here you can create a title for your related content. Something like “You may also like…” works great.

The next section is the Filter. Here, you can choose what the widget will display. You can choose a post if it is in the same category, tag, or format and choose to exclude pieces as well. You can also choose how the related content is sorted.

The third option allows you to display the post thumbnail. Since this will be in your sidebar, I recommend leaving the box unchecked. The thumbnail images will take up too much room, but the choice is yours.

Lastly is the Post Details section. Here you will simply select some additional post details to share. These include an excerpt, comments, date, and author. Again, you may want to not select any of these to save room when you show related posts.

Once you are done, click on the “Save” button.

Save Button

The widget will only be visible on post content. This means you do not have to worry about it appearing on your home page or landing page.

Visit any post to see the related article widget in action.

See The Widget In Action

Congratulations on setting up the Same Category Posts plugin.

Keep Your Content Easily Accessible

One of the biggest mistakes new web developers make is creating an overly complicated system to find content. While a two or three click system to find content sounds good, that is way too much work for a normal visitor. Most people will pull out their mobile devices and do a quick Google search to find content.

If your website is lucky enough to come up, you will find out that many visitors will leave the page if they don’t see what they are looking for. Making sure that your website will show related posts effectively and easy to find is essential to keep visitors on your pages.

Which plugin did you choose to use? Have you noticed more of your content getting read since you began showing related content?

Author: Robert Giaquinto

Robert has been writing tutorials about WordPress and other CMS for over 3 years since joining the GreenGeeks marketing team. Thanks to this, he has had the opportunity to research and master several areas of WordPress including plugin usage, SEO, website design, and social media integration. When he is not creating content for WordPress, Robert is digging up new content ideas for environmental pieces. These range from the pollution in our air to the danger’s wildlife face. And with a bachelor’s degree in electrical engineering, he is always eager to discuss the way our technologies are affecting the environment, especially when it comes to solar energy.

Was this article helpful?

Related Articles

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.