Late to the party again, I’ve finally got around to installing the Related Posts plugin on Blog-Op.
The main thing putting me off until now were the slightly basic instructions, but it’s up and running now, so I’ll attempt to simplify them below. Once installed, the plugin displays 1-10 related post titles automatically at the bottom of a post, with the intention of encouraging new visitors to read more than just the post they have arrived at.
First off, back up your WordPress database, and make sure you have a spare copy of your index.php file and your single.php file from your chosen WP theme.
- Download the plugin, install and activate in the usual way.
- Follow the Readme files instructions regarding the initial database setup. If you get the failure message , ignore it for now, as I got the message, but the initialization had occurred. You can always do the manual method later.
- You now have to insert the small php excerpt in your theme where you want the related posts to appear. If you want them to appear below every post, insert it into the index.php file. If you want it to appear below only single posts, then insert the code into the single.php file only.
- The instructions are to insert the code ‘anywhere in the loop’. Very helpful. What you need to look for in the code is the section started by “php if (have_posts()) “, and the loop ends at the section similar to “Sorry, no posts matched your criteria.” The wording may be slightly different according to your theme.
- Place it where you want them to appear: It’s easy enough to make out where the comment box is called, or the post date/time appear, and I placed the code on an empty line above it.
- You can use some very basic HTML to title the posts: I simply typed the text “Some Related Posts” just before the php code, and wrapped it in <strong> tags to make it bold. Have a play with formatting and positioning, as long as you have a backup, nothing is permanent, and no damage will be done!
I’ve been wanting to install this plugin for a while now, and I’m glad I took the plunge. As ever, if you need anymore help with it, just let me know.





15 users commented in " Related Posts Plugin - Encourage Your Readers to Read More "
Follow-up comment rss or Leave a TrackbackWe have this plugin installed as well, set to related 5 posts i believe
I used the ‘Similar Posts’ plugin which is the same as the one that you are using as well. I would say that this is an essential plugin, especially if you have a huge archive of information for readers to tap on.
Great input. I have not personally done it yet. But, I think I better try it tonight after work…Thanks for sharing…
It is a top plugin, and I’ve had it sitting in my blog for ages, but couldn’t make out the instructions - what’s the loop? Glad I did the research now.
I just wish some software authors would write instructions the way I always have - assume the person reading knows nothing!
Good luck Zaki, it’s actually quite simple when you know what the loop is!
I use the similar posts plugin instead. It does the same thing, but has some options I like better. I label it “Mostly Unrelated Posts” because totally unrelated ones will pop in there. They still get clicked.
It is one of the best plugins you can ever find , a must for every blog .
Very true.
Hi. I just want to say, thanks for the clear instructions regarding using the “Related Posts” or similar plugins. It is the best I have seen thus far, & was able to install “Similar Posts” first time I followed your instructions.
Most programmers just aren’t able to seem to give good, detailed instructions to newbies, but thanks to people like you, we can have plugins like these up & running quickly, & easily. Thanks again.
Thanks rhk111, that means a lot.
I started Blog-Op for this reason, and it’s cool that I’ve helped a few people.
I agree that some instructions rely on you knowing a lot about code, but if I knew PHP backwards, I wouldn’t need plugins!
Thanks for reading & your comment
I’m setting up my first wordpress blog and fooled around with this plugin for a few hours yesterday, mostly due to the limited instructions given by the author. I have no sql experience and it took a while to decipher how to manually mod the database (the script generated errors in my case) and then where to put the plugin call function in the blog template. Seems to work well though, once you figure it out.
Hi Rich, you’re right the plugin is excellent, the instructions less so….
[...] The Related Posts plugin - How to install this very useful plugin. [...]
I will install this one soon
Thanks for sharing!
I will Exercise for Comments!
Sunflower
[...] works best if used in conjunction with a Related Posts‘ style plugin, as that immediately puts some deep links at the fingertips of your readers. [...]
[...] Showing related posts at the bottom of your post, to encourage your visitors to read more. [...]
Leave A Reply