Related Posts by Tag Widget
This plugin is a sidebar widget that puts similar posts in the sidebar.
Last updated: 19 March 2009.
Download and unzip the plugin into your WordPress plugins directory.
Activate the plugin on your Admin Plugins page.
Adjust the widget settings on your Admin Widgets page.
The “similar posts” are posts whose tag sets are similar to the tag set of the current post.
The widget displays on single pages.
Also allows the list of related posts to be added to the end of posts, or of posts in the RSS feed.
On this page the post has the tags sports and tennis. The most recent other post that has both of those tags is shown at the top of the list, followed by the other posts that have both tags ordered by how recent they are.
This post has the tags culture, language, personal, travel. The post that shares three of the four (culture, language, personal) is at the top, followed by posts which have two of the four, ordered by date.
- PHP 5
- a version of WordPress that supports sidebar widgets (anything after 2.2, I think)
Frequently Asked Questions
How can I hide the datestamps next to the related posts?
In the widget settings, set the date format to blank.
How can I show the list at the end of posts (in RSS or on single pages) without having the widget in my sidebar?
Put the widget in your sidebar, check the checkbox for adding the list to the end of the post (or in the RSS feed), click ‘Done’, and then save your widget changes. When the page reloads, remove the widget from the sidebar and save the changes.