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
- Categories exclude
- Hook support
- 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
Mode of operation
Just put
<?php do_action('related_posts_by_category', args) ?>
in your
single.php template for display a list of similar posts.
Example
`
'RAND',
'order' => 'DESC',
'limit' => 5,
'echo' => true,
'before' => '- ',
'inside' => '» ',
'outside' => '',
'after' => '
',
'rel' => 'nofollow',
'type' => 'post',
'image' => 'thumbnail',
'message' => 'No matches'
)
) ?>
`
Please adjust the parameters accordingly.
Related Links