This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Related Posts via Categories

Description

This Plugin will display the related posts list via categories.
It can automatically display the related posts list after the content of any single post of selected post types by options.
There are many options for the display, order, exclusion and post-type selection.
This plugin works when viewing a post of selected post types by options.
This plugin requires jQuery 1.6 or higher.

Official Page

Related Posts via Categories – Options

‘Settings’ » ‘Related Posts via Categories’

Display

  • Auto display
    • This option automatically displays related posts after the content on the single post page.
    • If this option is off, you will need to manually insert display_related_posts_via_categories() into your theme files.
  • Maximum number of related posts
    • If you do not enter anything: 10
  • Related posts title
    • For example: Related Posts
  • Before related posts title and related posts
    • For example: <div id="related-posts-via-categories">
  • After related posts title and related posts
    • For example: </div>
  • Before related posts title
    • For example: <h2 id="related-posts-via-categories-title">
  • After related posts title
    • For example: </h2>
  • Before related posts
    • For example: <ul id="related-posts-via-categories-list">
  • After related posts
    • For example: </ul>
  • Before each related post
    • For example: <li class="related-posts-via-categories-item">
  • After each related post
    • For example: </li>

Order

  • Order By
    • Related Scores : High ( Speedy )
    • Related Scores : High / Date Published : New ( Default setting )
    • Related Scores : High / Date Published : Old
    • Related Scores : Low / Date Published : New
    • Related Scores : Low / Date Published : Old
    • Related Scores : High / Date Modified : New
    • Related Scores : High / Date Modified : Old
    • Related Scores : Low / Date Modified : New
    • Related Scores : Low / Date Modified : Old
    • Date Published : New
    • Date Published : Old
    • Date Modified : New
    • Date Modified : Old

Exclude

  • Exclude (Posts)
    • The IDs of any posts you want to exclude, separated by commas.
  • Exclude (Categories)
    • Select checkboxes of any categories you want to exclude.

Post types

  • Select checkboxes of any post types you want to include in the list of Related Posts and display the list.
  • Displays checkboxes of them when there is any custom post types.

Localization

  • Japanese (ja) – alphasis (plugin author)
  • Persian (fa_IR) – Omid Sheerkavand
  • Armenian (hy_AM) – Artak Kolyan
  • Current release supports English, Persian, Armenian and Japanese.

Screenshots

  • Display ( If the user is not logged in. )
  • Display ( If the user is logged in. )
  • Settings » Related Posts via Categories
  • Related Posts via Categories - Options » Display
  • Related Posts via Categories - Options » Order
  • Related Posts via Categories - Options » Exclude
  • Related Posts via Categories - Options » Post types
  • Related Posts via Categories - Options » Promotion

Installation

  1. Upload related-posts-via-categories to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Reviews

Many queries to the database !!!

I had a case when the site had more than 30,000 posts. Your plugin started doing a lot of queries to the database and the database on the server simply displays connection error.

Read all 5 reviews

Contributors & Developers

“Related Posts via Categories” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.1.2

  • Tested up to: WordPress 3.5.2

2.1.1

  • Added Armenian ( hy_AM ) language files.
  • Tested up to: WordPress 3.4.2

2.1.0

  • Changed the total source code.
  • Came to require jQuery 1.6 or higher.
  • Added post-type selection option.

1.1.1

  • PHP code was changed to more strict.

1.1.0

  • Added a CSS class or ID.
    • For example: <ul id="related-posts-via-categories-list">
  • This plugin came to require jQuery.

1.0.2

  • Added Persian ( fa_IR ) language files.
  • Compatible up to: WordPress 3.2.1

1.0.1

  • PHP code was changed to more strict.
  • Compatible up to: WordPress 3.1

1.0.0

  • Initial release