A Random Number
Display a random number anywhere with a shortcode. Set a min/max range, choose number formatting and get a fresh value on every page load.
Solide Wahl
A Random Number is a solid plugin choice in 2026, with a few things worth checking first. It runs on 700+ sites, is rated 3.7/5 and was last updated 3 weeks ago, and scores 66/100 on our health check.
- Aktiv entwickelt – letztes Update vor 3 Wochen
- Getestet mit dem neuesten WordPress (7.1)
- Momentum — downloads up 135.2% vs the previous 30 days
- Kleine Benutzerbasis (700+ aktive Installationen)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where A Random Number stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Gutenberg | >100 |
| random | #3 |
| random number | #1 |
| random number generator | #1 |
| Shortcode | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 3.7 from 6 reviews
About A Random Number
From the official readme · v1.3.0Beschreibung
A Random Number adds a simple random number generator to WordPress. Add the “A Random Number” block in the block editor, or put the [arandomnumber] shortcode in any post, page or widget, and it prints a new random number every time the page loads. Use it as many times as you like on the same page.
Merkmale
- Gutenberg block with minimum, maximum and thousands-separator settings and a live preview
- Random number generator shortcode for posts, pages and text widgets
- Custom range with the
minandmaxattributes (default 1 to 100) - Negative numbers and large ranges are supported
- Thousands separators on by default, switch them off with
comma=no - Insert button in the classic editor (visual and text mode)
- No settings page and no database tables to manage
Wie man benutzt
In the block editor click the add-block button, search for “A Random Number” and set the range in the block sidebar.
Or add the shortcode wherever you want the number to appear. The default range is 1 to 100.
[arandomnumber]
Pick your own range with min and max:
[arandomnumber min=1 max=10000]
This prints a number between 1 and 10,000, for example 8,014.
[arandomnumber min=-500 max=-1]
This prints a number between -500 and -1, for example -232.
[arandomnumber min=50000000 max=60000000]
This prints a number between 50,000,000 and 60,000,000, for example 56,449,060.
To print the number without thousands separators use comma=no:
[arandomnumber min=100000 max=999999 comma=no]
This prints something like 456245.
Anwendungsfälle
- Giveaway or contest placeholder numbers
- Lucky numbers, dice-style demos and games
- Test data and sample figures while you build a page
- Random values for form fields or URLs
- Checking whether a page is cached: the number changes on every uncached page load
Installation
- Laden Sie die Plugin-Dateien in das
/wp-content/plugins/a-random-number-Verzeichnis hoch oder installieren Sie das Plugin über den WordPress-Plugin-Bildschirm direkt. - Aktivieren Sie das Plugin über den Bildschirm „Plugins“ in WordPress
- Use the shortcode to display your magic number.
Änderungsprotokoll
Adds a Gutenberg block and makes the plugin translation-ready.
1.3.0
- New: Gutenberg block “A Random Number” with minimum, maximum and thousands-separator settings.
- Translation-ready: all strings use the a-random-number text domain.
- A review reminder in the admin after two weeks, dismissible.
- Requires WordPress 5.8 or newer.
1.2.2
- Hardening: direct-access guard, prefixed function names, shortcode min/max are cast to integers (non-numeric values no longer cause a fatal error on PHP 8), output of the stored link data is escaped, editor button accepts only whole numbers, WordPress random functions are used.
1.2.1
- Tested with WordPress 7.1. Outbound credit links now carry rel=”nofollow”.
1.2
- Updated to the latest WordPress version.
1.1
- Added comma attribute to remove commas if needed.
- Released August 19, 2017
1.0
- Launched A Random Number into the Internets. It’s alive!
- Released January 8, 2016
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best A Random Number alternatives
Alle Gutenberg-Plugins →Fragen und Antworten
A Random Number: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is A Random Number free?
Yes. A Random Number is free to download and use from the official WordPress.org plugin directory.
Is A Random Number safe to use in 2026?
A Random Number is a solid plugin choice in 2026, with a few things worth checking first. It runs on 700+ sites, is rated 3.7/5 and was last updated 3 weeks ago, and scores 66/100 on our health check.
How many websites use A Random Number?
A Random Number is active on 700+ WordPress websites and has been downloaded 16,264 times since it launched in January 2016. It was downloaded 962 times in the last 30 days.
Does A Random Number work with WordPress 7.1?
Yes. The developer has tested A Random Number up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does A Random Number need?
A Random Number requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was A Random Number last updated?
The latest version, 1.3.0, was released on October 27, 2026 (3 weeks ago).
Who makes A Random Number?
A Random Number is developed and maintained by Mortgage Calculator.
What are the best alternatives to A Random Number?
The most popular alternatives to A Random Number are Classic Editor (8M+ installs), Classic Widgets (2M+ installs) and Advanced Editor Tools (1M+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte


![The Random Number block in the block editor, with minimum and maximum in the sidebar (the [arandomnumber] shortcode works too).](https://ps.w.org/a-random-number/assets/screenshot-2.png?rev=3769367)