WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Similarity

Similarity displays a list of posts similar to the current post with similarity being determined based on tags, categories, or both.

Similarity displays a list of posts similar to the current post with similarity being determined based on tags, categories, or both. The display of the list is fully customizable including the ability to display the strength of the similarity as a value, percentage, color, or custom text/code. Another option allows for a less related post to be randomly selected and appended to the list. The list can be limited by one or both of a numerical limit or (as of version 2.1) match strength.

This plugin is translation ready and comes with English (U.S.), French, Polish, German, italian, and Spanish translations. Thanks to Li-An (http://li-an.fr/blog/) for providing the French translation. Thanks to Krzysztof Kudlacik (http://born66.net/) for providing the Polish translation. Thanks to Bjoern Buerstinghaus (http://www.buerstinghaus.net/) for providing the German, Italian and Spanish translations.

Prior to Version 1.6 private posts would potentially show in the list of related posts. In 1.6 these were skipped. As of version 1.7 private posts will show for the post author or others with the ability to read private posts. It is strongly recommended that users who have private posts install version 1.6 or higher.

The plugin allows for three function calls anywhere in your page templates (all use the same options):

  • <?php sim_by_tag(); ?> - determines similarity based on the tags applied to the posts
  • <?php sim_by_cat(); ?> - determines similarity based on the categories assigned to the posts
  • <?php sim_by_mix(); ?> - determines similarity based on the tags and categories assigned to the posts

There are also three function calls that are better suited for use in sidebars (specifically when the sidebar is used on the main page)

  • <?php sim_by_tag_multi(); ?> - determines similarity based on the tags applied to the first post on milti-post pages
  • <?php sim_by_cat_multi(); ?> - determines similarity based on the categories assigned to the first post on milti-post pages
  • <?php sim_by_mix(_multi); ?> - determines similarity based on the categories and tags assigned to the first post on milti-post pages weighting each according to the ratio you assign
  • To display a Similarity list as a widget use a text widget with one of the following shortcodes - [SIM-BY-TAG] [SIM-BY-CAT] [SIM-BY-MIX] for single post pages only or for all pages use [SIM-BY-TAG-MULTI] [SIM-BY-CAT-MULTI] or [SIM-BY-MIX-MULTI]
  • To display a Similarity list without altering your templates simply select the function that you would like to auto-display at the bottom of the options page.

Requires: 2.3 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-9
Downloads: 17,317

Ratings

4 stars
4.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,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 100,1,1
100,1,1
100,3,3
50,2,1
100,1,1
100,1,1
0,1,0
100,1,1
100,1,1 100,3,3
100,2,2
100,1,1