Related Posts Widget 1.0

Related Posts Widget shows a list of posts with similar tags to the current post. The widget is only shown on single post pages. That is, it is only shown when is_single() returns true.

Features:

  • Support for displaying thumbnail images via WP 2.9′s new post thumbnail feature.
  • Set how many posts to show.
  • Option to show the post excerpt and how long the excerpt should be.
  • Option to show the post date.
  • Option to show the comment count.
  • Option to make the widget title link to the category page.
  • Multiple widgets.

You can download the plugin from the WordPress repository.

This entry was posted in Code and tagged , . Bookmark the permalink.

14 Responses to Related Posts Widget 1.0

  1. Great widget! Does exactly what I was looking for in a simple and elegant way.

    Just one little bug for you – the ‘Number of Posts’ option wasn’t working. It looks like you are using the id ‘num’ to store the value but on line 57 when you set the showposts argument you use the id ‘num_posts’. I changed that just to ‘num’ and it works.

    Cheers & thanks for sharing the widget!

  2. I downloaded it – am looking for exactly this but it won’t work. It isn’t showing anything in teh sidebar. The url is http://desperatelyseekingwp.com

    Thanks for creating this plugin!

  3. Stefan says:

    This is exactly what I have been looking for, but unfortunately it doesn’t seem to work with the latest version of WordPress.

  4. Jim says:

    Not working for me either. I have 2 articles on Amelia Earhart and neither of them are being picked up by this plugin. Hope we can get this fixed as I believe this has the potential to be a great plugin.

  5. Jim says:

    Disregard. Its working fine :)

  6. James says:

    It doesn’t help me at all if you just say “it doesn’t work”. Tell me what you think doesn’t work so that I know what to fix.

  7. Stefan says:

    @James: Nothing shows up when you activate it.

  8. James says:

    Stefan, It only shows up when you’re viewing a single post.

  9. Stefan says:

    No, nothing shows up on my single posts even though I activate the plugin and add it as a widget.

    Maybe something changed in the latest version of WordPress.

  10. James says:

    The only other possibility I can think of is that your posts don’t have any shared tags. The plugin works by searching for other posts that have at least one tag in common with the current post.

  11. Just wondering how i can inter-grate this plug-in with simple thumbs. Has anyone done it and are willing to share. I can't get the thumbs to show

  12. Translation says:

    it doesnt seem to work with wordpress

  13. ww says:

    In the widget setting surface of this plugin, I couldn't see anything about thumbnail. What's up?

    WP 2.9.2

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>