WordPress plugin intelligence profile

Similar Posts Ontology

Show a list of related posts that are similar to another post.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version2.1
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 4.0.0 · PHP —
Directory statusactive
Last directory update16 Dec 202510mo ago
Active installations50Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Similar Posts Ontology version 2.1 as active, updated 10mo ago and tested up to WordPress 6.9.

Overview

About this plugin

Does your website utilize categories and tags? Does it use custom taxonomies? If so, this plugin will find similar content

based on all your taxonomies. There are two ways to show related posts within your page.

  • The first way to show related content on your post is to use the widget provided. This only works when is_single() is true
  • The second way to show similar content on your site is to use the pk_related_return($post->ID); function which can be

called programmatically anywhere you wish!

The Widget included with this plugin gives you the option to limit the amount of posts; it allows you to determine which

fields to show: Featured Image, Author, Date, and Excerpt (Title is required); it allows you to determine which

variant of the featured image to show: thumbnail, medium, large, or full. 0, you can now decide whether the

‘similar posts’ sorting prefers posts that are newer or posts that were created closer to the date of the post you’re

viewing.

If you find the Widget doesn’t meet your needs or is too limiting, you can call the functionality programmatically using

this function:

pk_related_return($post->ID, $args);

Where $post->ID is the ID of the post for which you are wanting to show related articles.

The $args parameter is an array with the following values available to you (more coming soon):

  • posts_per_page (int defaults to 5)
  • thumbnail_size (string consisting of one of these values: “thumbnail”, “medium”, “large”, “full”. Defaults to thumbnail).
  • sort_prefer (string consisting of one of these values: “newest”, “closest”. Defaults to newest).

An example might be:

php $args = array ( 'posts_per_page' => 6, 'thumbnail_size' => 'medium', 'sort_prefer' => 'closest' );

The return value of pk_related_return is an array of objects that includes most of the fields within WordPress’s posts

table plus permalink and featured image.

Future Additions:

Allow the user to specify only certain content types (posts, pages, custom) in a request. This would allow you to specify

only products get returned, or only blog posts. This would only be an issue if content types share taxonomies.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • articles
  • content
  • posts
  • related
  • similar
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 4.0.0 · PHP not listed
Update activity16 Dec 202510mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.