WordPress.org

Ready to get started?Download WordPress

Plugin Directory

M Similar Posts

This plugin lists similar to the current post based on the number of common categories.

This plugin adds a widget to WordPress that will list similar posts to the one being reviewed. The widget will only be rendered on a post single page, as otherwise it would not be relevant.

A shortcode is also available -- [magadanski-similar-posts]. There are several attributes available for the shortcode:

  1. ID -- (integer) the ID of the post you'd like to get similar posts for. Default value: the current post ID.
  2. post_type -- (string) the post type you'd like to query. Default value: "post".
  3. taxonomy -- (string) the taxonomy based on which you'd like to get similar items. Default value: "category".
  4. limit -- (integer) a maximum number of results you'd like to receive. Default value: 5.

The similarity is considered based on the number of common categories for this posts and the rest of the posts in your blog.

Requires: 3.0 or higher
Compatible up to: 3.9.1
Last Updated: 2014-5-24
Downloads: 1,924

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1