🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Random Related Posts Based on Category icon
Possibly abandoned Tested up to 3

Random Related Posts Based on Category

This plugin allows you to list any number of related posts from the same category as the current post. You can also randomise these results. It is very lightweight, at only 3KB.

Active installs10+10+ tier
Downloads · 30d43▲ +104.8% vs prev. 30d
Rating—0 reviews
Health score23/100At risk
All-time downloads5.3KSince Dec 2010
Support resolved—No recent threads
RequiresWP 3PHP any
Downloads · 7d13▲ +18.2% week over week
Our verdict

Consider an alternative

Random Related Posts Based on C… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 16 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 15 years
  • Only tested up to WordPress 3 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Sep 4Oct 18Dec 2
Yesterday5
Daily average (1y)2
Peak day10May 18, 2026
Last 12 months648

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Random Related Posts Based… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
category >100 10,000 Best category plugins →
posts >100 10,000 Best posts plugins →
random >100 4,035 Best random plugins →
related >100 8,206 Best related plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

About Random Related Posts Based on Category

From the official readme · v1.0.2

Description

This plugin allows you to list any number of related posts from the same category as the current post. You can also randomise these results. It is very lightweight, at only 3KB.

There are a number of options available:

  • Choose the number of Posts to show
  • Choose whether it displays these posts randomly, or in order specified by you.
  • Choose whether to display a title, what tags to use, and what text should be displayed (e.g. H3)
  • Choose a class for the main UL

To display the random related posts in its simplest form, simply place the following code in your single.php file – <?php relatedPosts(); ?>.

To edit the options availble, use the following codes:

<?php relatedPosts(
    $ppp = 4, 
    $rand = true, 
    $rPinctitle = true, 
    $rPtitletag = 'h3', 
    $rPtitle = 'Related Posts', 
    $rPulclass = 'related_posts',
    $orderby = 'title', 
    $order = 'ASC'
); ?>

Where:

  • $ppp = Number of posts to display (Any integer allowed)
  • $rand = sets the display to random (true/false)
  • $rPinctitle = Displays the title (true/false)
  • $rPtitletag = The type of tag to wrap the title in (Default h3, but it can be any valid HTML tag)
  • $rPtitle = The title to be displayed (This can be any text value)
  • $rPulclass = This sets the class of the ul (This can be any text value)
  • $rPexcerpt = Displays the post excerpt (true/false)
  • $orderby = This allows you to order the posts by certain parameters (title/author/date/modified/menu_order/parent/ID/none/comment_count) If you want to choose the order of your posts, be sure to set $rand to false
  • $order = This can either be Ascending or Descending (ASC/DESC)

Installation

  1. Upload the random_related_posts_by_cat directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Place <?php relatedPosts(); ?> in your templates – please see the description for more options.

Changelog

Added ability to choose the order that the related posts are displayed in.

1.0.2

  • Added ability to choose the order that the related posts are displayed in.

1.0.1

  • Added ability to choose whether to display the excerpt.

1.0

  • First Release

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Random Related Posts Based on… alternatives

All category plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Pages with category and tag Pages with category and tag Add Categories and Tags to Pages. by YAHMAN 50K+ ★★★★★★★★★★ 4.8 (28) 5 days ago 79
2 Search & Filter Search & Filter Search and Filtering for Custom Posts, Categories, Tags, Taxonomies, Post Dates and Post… by Code Amp 40K+ ★★★★★★★★★★ 4.5 (175) 3 months ago 68
3 PublishPress Taxonomies – Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms PublishPress Taxonomies Tags, Categories and WordPress terms are easy with PublishPress Taxonomies. Add a Tag or… by PublishPress 40K+ ★★★★★★★★★★ 4.6 (195) 2 days ago 93
4 Media Library Categories Media Library Categories Adds the ability to use categories in the media library. by jeffrey-wp 20K+ ★★★★★★★★★★ 4.2 (52) 3 months ago 65
5 Add Category to Pages Add Category to Pages Easily add a Post Categories to Wordpress Pages by a.ankit 10K+ ★★★★★★★★★★ 4.7 (30) 7 years ago 46
6 Term Management Tools Term Management Tools Allows you to merge terms, move terms between taxonomies, and set term parents… by scribu 10K+ ★★★★★★★★★★ 4.9 (76) 12 months ago 51
7 WP No Base Permalink WP No Base Permalink Removes category base or parents categories or tag base from your permalinks. Compatible… by Sergio 10K+ ★★★★★★★★★★ 4.1 (16) 7 years ago 38
8 Adjust Admin Categories Adjust Admin Categories Installing this plugin allows you to adjust the behavior of the area below the posts screen… by Masahiro NAKASHIMA 10K+ ★★★★★★★★★★ 5 (4) 4 years ago 37
9 Parent Category Toggler Parent Category Toggler Automatically toggle the parent categories when a sub category is selected. by Ben Lobaugh (blobaugh) 10K+ ★★★★★★★★★★ 4.8 (15) 9 years ago 41
10 List Custom Taxonomy Widget List Custom Taxonomy Widget The List Custom Taxonomy Widget is a quick and easy way to display custom taxonomies… by Nick Halsey 8K+ ★★★★★★★★★★ 4.7 (21) 5 months ago 77

FAQ

Random Related Posts Based on Categ…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Random Related Posts Based on C… free?

Yes. Random Related Posts Based on C… is free to download and use from the official WordPress.org plugin directory.

Is Random Related Posts Based on C… safe to use in 2026?

Random Related Posts Based on C… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 16 years ago, and scores 23/100 on our health check.

How many websites use Random Related Posts Based on C…?

Random Related Posts Based on C… is active on 10+ WordPress websites and has been downloaded 5,333 times since it launched in December 2010. It was downloaded 43 times in the last 30 days.

Does Random Related Posts Based on C… work with WordPress 7.1?

Random Related Posts Based on C… is officially tested up to WordPress 3, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Random Related Posts Based on C… last updated?

The latest version, 1.0.2, was released on January 10, 2011 (16 years ago).

Who makes Random Related Posts Based on C…?

Random Related Posts Based on C… is developed and maintained by James Kemp.

What are the best alternatives to Random Related Posts Based on C…?

The most popular alternatives to Random Related Posts Based on C… are Pages with category and tag (50K+ installs), Search & Filter (40K+ installs) and PublishPress Taxonomies (40K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open