WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Efficient Related Posts

A related posts plugin that works quickly even with thousands of posts and tags. Can be added automatically to the end of posts.

There is a problem with related posts plugins, and Efficient Related Posts is fixing that by approaching the problem from a different direction and offering a very different solution.

Basically, current related post plugins build the list of related posts on the fly when the user needs to view it. Since blogs tend to be viewed far more often than they are updated (often hundreds of times more often), these queries are run way more times than they need to be. This not only wastes CPU cycles, but if the queries are slow (which they will be if you have 1000s of posts and tags) then the user gets a poor experience from slow page loads.

Efficient Related Posts moves all this effort into the admin section, finding related posts when a post is saved rather than when the user views it. The advantage is that if the query is slow it happens less often and the post writer is the one that waits rather than the user (which I think is WAY better).

There are limitations. For example, since the related posts are stored as post meta data, we only store a certain number of them (10 by default, but you can set it to whatever you want). This means that if you decide you need to display more than 10, you need to have the plugin re-process all posts. I generally display up to 5 related posts, but store 10 just in case I decide to display more in some areas. Also, since the related posts are calculated when a post is saved, manually adding a tag through the database will have no effect on the related posts, although I recommend not doing that anyway.

Requires: 2.8 or higher
Compatible up to: 3.7.1
Last Updated: 2013-9-17
Downloads: 104,097

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,2,2 80,5,4 100,1,1
90,10,9
80,10,8 100,1,1
100,3,3 67,6,4
73,11,8
100,1,1
50,4,2
83,6,5 100,1,1
56,9,5 86,7,6
100,2,2
100,5,5
100,3,3
100,2,2
82,17,14
67,3,2
36,11,4
50,4,2
33,3,1
33,3,1
100,1,1
0,4,0 100,1,1
0,3,0 100,2,2
100,1,1
100,2,2
0,1,0