跳到内容

M Similar Posts

v1.3.4

Georgi Popov · 2013年10月22日 上架

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

正在使用
10+
评分
5.0 / 5
累计下载
1.1 万
最近更新
2022年7月7日
1 条评价需要 WordPress 5.0+已测试到 6.0.0

贡献者

截图

The options for the plugin's widget.
The options for the plugin's widget.
The block in the Gutenberg editor.
The block in the Gutenberg editor.
The Gutenberg Block settings.
The Gutenberg Block settings.

This plugin provides a list of similar / related entries to an article or a custom post type entry.

This list could be added in the form of a:

  1. Gutenberg Block
  2. Shortcode
  3. Widget

If you add a widget to the sidebar it will only appear when on the details view of an entry, as similarity cannot be calculated when on a list page of multiple entries.

The syntax for the shortcode is [magadanski-similar-posts id="" post_type="" taxonomy="" limit=""]

You can use the attributes as follows:

  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 (or other taxonomy terms) for this post and the rest of the posts in your blog.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums