Plugin Directory

Related Posts by Category

Author: Sergej Müller

Related Posts by Category lists similar posts within any post. As a search string the plugin does not use the title of the article nor weighs the content. In fact the category, which was assigned to the post, serves as the source of accordance.

Features

  • Very fast execution
  • No user interface required
  • Post thumbnail integration (WP 2.9 or older)
  • Quick query in only one sql statement
  • Quantity of results and further options are adjustable
  • Foolproven implementing of this plugin

Mode of operation

Just put <?php new RPBC(array(params)) ?> in your single.php template for display a list of similar posts.

Example

<ul>
  <?php if (class_exists('RPBC')) {
        new RPBC(
        array(
          'orderby' => 'RAND',
          'order' => 'DESC',
          'limit' => 5,
          'echo' => true,
          'before' => '<li>',
          'inside' => '&raquo; ',
          'outside' => '',
          'after' => '</li>',
          'rel' => 'nofollow',
          'type' => 'post',
          'image' => 'thumbnail',
          'message' => 'no matches'
        )
      );
  } ?>
</ul>

Please adjust the parameters accordingly.

Documentation

Download

FYI

Compatibility

+
=
Works!

6 people say it works.
0 people say it's broken.

Log in to vote.

0,1,0 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,6,6

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(9 ratings)