How to Add Related Posts to Your WordPress Website

How to Add Related Posts to Your WordPress Website

How to Add Related Posts to Your WordPress Website

Adding related posts to a WordPress website is one way to optimize it for search engines. This practice is especially effective for blogs with an extensive library of content. It helps lower the bounce rate, promote older posts to increase page views, and boost time on site.

Add WordPress Related Posts Manually

This method involves adding a code snippet to your theme’s single.php file, which it controls your posts’ formatting. The next time you publish a new post in your WordPress blog, visitors will see relevant content with the same tags as the current blog post.

Here’s how to manually add related posts to your Hostinger hosted WordPress site:

  • Access your website’s root directory (public_html) via an FTP client or your web host’s File Manager. Hostinger users can locate the latter within the Files section of their hPanel dashboard.
  • Navigate to wp-content->themes and locate the folder of your currently active theme.
  • Open the single.php file and add the provided code snippet.
  • Add the provided code snippet to your theme’s style.css file to format the thumbnail images.
  • Save all the changes.

Add WordPress Related Posts with a Plugin

If the previous method seems too complicated, we recommend adding the related posts feature using a plugin instead.

We’ll be using the YARPP plugin in this tutorial. We’ll be talking about its alternatives in our list in the next section.

Here are the steps to link related posts using the YARPP plugin:

  • Install and activate the plugin.
  • Navigate to Settings->YARPP from your WordPress admin dashboard.
  • Configure the Pool settings to determine which post to include in the related posts block.
  • Edit the Algorithm settings based on the parameters you have previously chosen.
  • The Automatic Display Options settings control how your website displays related posts.
  • The Preview section displays how the related posts block will appear on different devices.
  • Once you’re satisfied, click Save Changes.

Top 5 Plugins to Add Related Posts on WordPress

One of the perks of using WordPress is that there’s a massive selection of excellent WordPress plugins to choose from. The following are our top five related posts plugins you ought to consider:

  1. YARPP: Yet Another Related Posts Plugin (YARPP) is one of the plugins that offer versatile related posts functionality.
  2. Jetpack: The Jetpack plugin is a popular tool for boosting WordPress websites’ security, performance, and growth.
  3. Custom Related Posts: Custom Related Posts lets you define the relations between posts, giving you more control over their related links.
  4. Related Posts: Related Posts has a quick setup and is accessible as a sidebar widget upon activation.
  5. Contextual Related Posts: Contextual Related Posts starts finding and relating posts when you activate the plugin.

Conclusion:

Showing related content at the end of your blog posts is a great way to promote older content and increase the average time spent on your website. Even if your theme doesn’t have a related posts section, you can add it manually or use one of the many plugins that WordPress offers.

We hope this article has helped you set up WordPress related posts on your website. Good luck.

Jordana Alexandrea

Jordana is a Senior Content Writer at Hostinger with a background in Information Systems. She has over five years of experience in WordPress and is casually dabbling with PHP and MySQL. Her passion for writing and technology drives her to create tutorials for anyone wanting to build their online presence. Follow her on LinkedIn.

👉
Start your website with Hostinger – get fast, secure hosting here
👈


🔗 Read more from MinimaDesk:


🎁 Download free premium WordPress tools from our Starter Tools page.

How to Get an SSL Certificate Using hPanel: A Step-by-Step Guide
How to Enable and Configure reCAPTCHA on WordPress: A Complete Guide
My Cart
Wishlist
Recently Viewed
Categories