该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Simply Related Posts

描述

A widget that simply gives you related posts by taxonomy. It provides four
settings to customize every widget and there are no global settings to worry
about.

Widget settings

  1. The title of the widget (default: Related Posts)
  2. The taxonomy by which terms the posts are related (default: Tags)
  3. How many related posts to show (default 5)
  4. excludet terms

The widget is visible only when is_single() is true, it doesn’t shows up on
archives, search templates etc.

Translation credits

Thanks to Borisa Djuraskovic from http://www.webhostinghub.com for the Serbian translation!

屏幕截图

  • Widget settings

安装

  1. Upload the simply-related-posts folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the ‘Apearance/Widgets’ area, add the ‘Simply Related Posts’ widget to
    a widget area.
  4. Make your settings
  5. done

常见问题

You are wellcome to ask questions directly to me in the Simply-Related-Posts-section
on my blog http://www.danielauener.com/simply-related-posts/

There is even a github-repository on: http://github.com/danielauener/wp-simply-related-posts

Q. How to add thumbnail images to the related posts list
A. You can add the ‘simply_related_posts_title’ filter, like
add_filter( ‘simply_related_posts_title’, ‘my_related_posts’, 10, 2);
The first argument is a post-object for the related post, the second argument
is the widget instance.

评价

此插件暂无评价。

贡献者及开发者

「Simply Related Posts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Version 1.0 done

1.1

  • fixing post-count bug

1.2

  • making it work for custom post types. Thanks to David Gil (github.com/dgilperez)
  • applying a filter to all related post titles, to render thumbnails and other stuff