WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by James Harrison v1.2

A Random Number

A WordPress plugin that displays a random number on each page load via shortcode. It truly is magic.

A Random Number

The facts

Rating
3.7★ from 6
Active installs
700+
Price
Free
Last updated
3 Jun 2026
Added
Jan 2016
Requires WP
3.0.1
Tested up to
WP 7.0.4
Downloads
14,806

Our analysis

AI-assisted

A Random Number is a WordPress plugin that allows you to display random numbers on your site using a shortcode. You can insert the shortcode [arandomnumber] into posts, pages, or widgets, and it generates a random number within a specified range.

The default range is from 1 to 100, but you can customize this by using the min and max attributes. The plugin also includes an option to disable commas in the output for larger numbers.

Best for: This plugin suits anyone looking to add random number generation to their WordPress site.

What it does well

  • Free to use from the WordPress.org directory
  • Customizable range for random numbers
  • Shortcode can be used multiple times

Where it falls short

  • Limited information on additional features
  • No advanced settings or configurations mentioned

Verdict

A Random Number provides a straightforward solution for displaying random numbers, but its simplicity may limit its appeal for more complex needs.

From the developer

James Harrison's own description of A Random Number, lightly tidied.

The shortcode [arandomnumber] can be added to any post, page, or widget as many times as needed to display a random number. The number has a default range of 1 – 100, but can be changed using the min and max attributes, like so:

[arandomnumber min=1 max=10000]: This will output a random number between 1 and 10,000. (Like this: 8,014)
[arandomnumber min=-500 max=-1]: This will output a random number between -500 and -1. (Like this: -232)
[arandomnumber min=50000000 max=60000000]: This will output a random number between 50,000,000 and 60,000,000. (Like this: 56,449,060)

etc.

If you wish to disable commas, use the comma=no attribute, like so: [arandomnumber min=100000 max=999999 comma=no]. This will output a random number within the range without the commas, like this: 456245.

Read the full description on the official page →

Tagged as