How to Create a Related Posts Table for WordPress Without a Plugin 2

How to Create a Related Posts Table for WordPress Without a Plugin

Sharing is caring!

I’ve been reading a lot about how plugins increase your load time. And with Google constantly changing and making updates to their algorithm, this is important to understand as a blogger. Now, let’s also be real here: sometimes trying to understand the Google updates is like trying to read a foreign language. Unless you understand all of that tech talk? Well, it can be downright confusing.

So instead of trying to figure it out from Google, I look for other places that can explain it to me. Websites like Moz, Neil Patel, and SEMrush.

Much easier to understand and process. And in turn, I can apply that better.

With page load time, in particular on mobile, becoming increasingly more important; I want to reduce the amount of plugins that I have. Now, I try to make sure that all of my plugins have a function and purpose. I have 17 plugins installed with plans to reduce that to 16 by the end of the year. The one that I’m working on getting rid of right now is my related posts plugin.

It is a very useful, very visually lovely plugin. But it also affects my site speed. I do know some HTML code and know enough to create a related posts table without using a plugin.

how-to-add-a-related-posts-table-to-wordpress

For this tutorial, I selected a recent post: Why I Stopped Trying to Be Supermom because it has a lot of potential for interlinking.

How to Create a Related Posts Table

First, you’ll want to be in TEXT mode so you can see your code:

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-25-43

Next, pick a spot in your post that you want the related posts table to appear. At the bottom makes the most sense but you can experiment with the location.

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-28-29

The table code that I used is an older HTML format but WordPress will correct that. This example piece of code will render a table that displays 4 related posts along with their titles.

To begin adding to the table, select your first related post and find the image that you want to use:

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-29-00

It needs to go in between the brackets or it will break the code of your table.

After you find the image from that post, make sure that it’s in a smaller format. For related posts, I like to use the 125×125 thumbnail size.

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-29-54

Insert into post, and it will show up like this in your table code:

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-30-34

This next step is really optional! You can either link your thumbnail image or you can go into the next row of code. Once you’re there, put the title of the post in between the brackets and link the title to your related post:

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-31-18

 I prefer to have it separate but again, it’s really up to you! Here’s how it looks in visual mode with the first related post:

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-31-47

Not too bad so far but let’s fill out the rest!

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-35-29

You can pick posts with a similar message, similar theme, or that are popular on your blog. I would recommend sticking with a similar message or theme for at least three of the posts and one popular one that also fits. The point, after all, is to create a related posts table.

So here’s how it looks in visual mode:

edit_post__kori_at_home_-_wordpress_-_2016-11-07_08-35-57

And here’s how it looks in the post:

why_i_stopped_trying_to_be_a_supermom_and_how_it_reduced_my_stress_-_2016-11-07_08-37-15

 Next time I want to try and center the text so it doesn’t look so squished. But that’s really all there is to it when it comes to creating a related posts table! You can get fancier with it if you’d like, but it really looks okay like this.

If you have any questions for me, don’t hesitate to ask in a comment! And if you found this post useful, feel free to pin it for later!

how-to-easily-add-a-related-posts-table-to-wordpress

The following two tabs change content below.

Kori

Content Creator at Kori at Home
Kori is an autistic mom who also happens to have ADHD and Anxiety. She is currently located in Albany, NY where she is raising a neurodivergent family. Her older daughter is non-speaking autistic (and also has ADHD and Anxiety) and her youngest daughter is HSP/Gifted. As an empath, HSP, and highly intuitive individual, Kori brings her own life experiences as an autistic woman combined with her adventures in momming to bring you the day-to-day of her life at home. Kori provides life coaching services for neurodivergent women (and those who identify as women) as well as Oracle card reading, Tarot card readings, and energy healing.

Latest posts by Kori (see all)

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Scroll to Top