🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Random Posts for Query Loop Block icon
gepflegt Getestet bis 6.9.12

Random Posts for Query Loop Block

The Query Loop block in WordPress does not include a “Random” ordering option in the sidebar UI. However, WordPress core does support orderby = rand in WP_Query.

Aktive Installationen30+10+ Stufe
Downloads · 30d103▲ +60.9% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score39/100In Gefahr
Downloads aller Zeiten564Since Jan 2026
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 6.0PHP 7.4+
Downloads · 7d29▲ +7.4% week over week
Unser Urteil

Betrachten Sie eine Alternative

Random Posts for Query Loop Blo… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites and was last updated 11 months ago, and scores 39/100 on our health check.

  • Kleine Benutzerbasis (30+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Nur getestet bis WordPress 6.9 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

369Aug 31Oct 14Nov 28
Gestern3
Täglicher Durchschnitt (1 Jahr)2
Spitzentag217. Januar 2026
Letzte 12 Monate567

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Random Posts for Query Loop… stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
block-editor >100 10,000 Best block-editor plugins →
Gutenberg >100 8,513 Beste Gutenberg-Plugins →
orderby #80 610 Best orderby plugins →
query loop #56 1,649 Best query loop plugins →
random >100 3,938 Best random plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.0100.0%

About Random Posts for Query Loop Block

Aus der offiziellen Readme · V1.0.5

Beschreibung

The Query Loop block in WordPress does not include a “Random” ordering option in the sidebar UI.
However, WordPress core does support orderby = rand in WP_Query.

The problem:
Using "orderBy": "rand" inside a Query Loop block can cause the Site Editor preview to fail, because rand is not included in the REST API schema for posts.

This plugin fixes that by extending the REST API orderby enum so the editor recognizes "rand" as valid.

✔ What this plugin does

  • Adds "rand" to the REST API orderby enum for posts and pages.
  • Allows the Query Loop block to use "orderBy": "rand" safely.
  • Prevents JSON errors and broken previews in the Site Editor.
  • Makes “random post” layouts work reliably both in the editor and frontend.

⚠ What this plugin does not do

  • It does not add a “Random” option to the Query Loop UI dropdown.
    (That UI is defined in Gutenberg’s JavaScript.)
  • You must still set "orderBy": "rand" manually using the Code Editor.

Example use case

Want your homepage, blog, quotes site, testimonials, or featured-section to show
a different post every time the page loads?

Install this plugin → open the template → switch to Code Editor → set "orderBy": "rand".

Installation

  1. Upload the plugin folder to /wp-content/plugins/random-posts-for-query-loop-block/
    or install it via Plugins → Add New → Upload Plugin.

  2. Activate the plugin via Plugins → Installed Plugins.

  3. Open the Site Editor and edit a template or page containing a Query Loop block.

  4. Switch to Code Editor
    (top-right kebab menu → Code editor).

  5. Find the wp:query block and set:

    “orderBy”: “rand”

Änderungsprotokoll

Initial public release. Safely enables random ordering in the Query Loop block without breaking the Site Editor preview.

1.0.5

  • Initial release. Adds rand to the REST API orderby enum so Query Loop can safely use random order.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Query Loop block configured with "orderBy": "rand" in the Code Editor.
Query Loop block configured with "orderBy": "rand" in the Code Editor.
Site Editor preview working correctly with random post ordering enabled.
Site Editor preview working correctly with random post ordering enabled.

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.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Random Posts for Query Loop B… alternatives

All block-editor plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Klassischer Editor Klassischer Editor Aktiviert den vorherigen "klassischen" Editor und den alten Post-Bildschirm mit TinyMCE, Meta… von WordPress.org 8M+ ★★★★★★★★★★ 4.9 (1.3K) Vor 6 Monaten 64
2 Erweiterte Editor-Tools Erweiterte Editor-Tools Erweitert und erweitert den Blockeditor (Gutenberg) und den klassischen Editor (Tinymce). von Andrew Ozz 1M+ ★★★★★★★★★★ 4.5 (354) Vor 3 Monaten 71
3 Deaktivieren Sie Gutenberg Deaktivieren Sie Gutenberg Deaktivieren Sie Gutenberg Blockeditor und stellen Sie den klassischen Editor und den ursprünglichen Post-Bildschirm wieder her… von Jeff Starr 500K+ ★★★★★★★★★★ 5 (735) Vor 3 Wochen 97
4 Shortcodes Ultimate – Content Elements Shortcodes Ultimate – Content Elements Add 50+ shortcodes with live preview for tabs, accordions, buttons, FAQs, sliders and… by Vova 400K+ ★★★★★★★★★★ 4.9 (5.9K) Vor 1 Woche 82
5 Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns Gutenberg Essential Blocks Gutenberg block editor with AI. 70+ Gutenberg blocks, patterns, WooCommerce blocks, post… von wpdeveloper 100K+ ★★★★★★★★★★ 4.9 (217) Vor 2 Wochen 96
6 Gutenkit – Seiten-Builder-Blöcke, Muster und Vorlagen für Gutenberg Blockeditor Gutenkit Gutenkit – Ultimative No-Code Gutenberg Blöcke zum Entwerfen atemberaubender Webseiten und visueller… von ataur r 70K+ ★★★★★★★★★★ 4.5 (48) Vor 5 Tagen 93
7 Spectra Blocks – AI Website Builder for the Block Editor Spectra Blocks – AI Website Builder for the Block Editor Build a full website with AI, then edit every block natively in Gutenberg. No new editor to… durch Brainstorming-Kraft 70K+ ★★★★★★★★★★ 4.6 (56) Vor 1 Woche 91
8 Better Font Awesome Better Font Awesome Add Font Awesome Free icons that stay current automatically, with a native WordPress block… by Mickey Kay 60K+ ★★★★★★★★★★ 4.5 (88) Vor 3 Monaten 89
9 Ultimative Blöcke – 25+ Gutenberg Blöcke für Blockeditor Ultimative Blöcke – 25+ Gutenberg Blöcke für Blockeditor Erstellen Sie mit dem Blockeditor bessere Inhalte. Benutzerdefinierte Blöcke für Blogger und Inhalte… durch ultimative Blöcke 50K+ ★★★★★★★★★★ 4.9 (729) Vor 6 Tagen 95
10 Gutenverse – WordPress Blöcke, Seitenersteller & Site-Editor Gutenverse – WordPress Blöcke, Seitenersteller & Site-Editor WordPress Blöcke, Seitenersteller und Website-Builder für den Block-Editor und Site-Editor… von JegStudio 20K+ ★★★★★★★★★★ 4.9 (190) Vor 2 Wochen 79

Fragen und Antworten

Random Posts for Query Loop Block: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Random Posts for Query Loop Blo… free?

Yes. Random Posts for Query Loop Blo… is free to download and use from the official WordPress.org plugin directory.

Is Random Posts for Query Loop Blo… safe to use in 2026?

Random Posts for Query Loop Blo… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites and was last updated 11 months ago, and scores 39/100 on our health check.

How many websites use Random Posts for Query Loop Blo…?

Random Posts for Query Loop Blo… is active on 30+ WordPress websites and has been downloaded 564 times since it launched in January 2026. It was downloaded 103 times in the last 30 days.

Does Random Posts for Query Loop Blo… work with WordPress 7.1?

Random Posts for Query Loop Blo… is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Random Posts for Query Loop Blo… need?

Random Posts for Query Loop Blo… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Random Posts for Query Loop Blo… last updated?

The latest version, 1.0.5, was released on January 7, 2026 (11 months ago).

Who makes Random Posts for Query Loop Blo…?

Random Posts for Query Loop Blo… is developed and maintained by Abhay Rautela.

What are the best alternatives to Random Posts for Query Loop Blo…?

The most popular alternatives to Random Posts for Query Loop Blo… are Classic Editor (8M+ installs), Advanced Editor Tools (1M+ installs) and Disable Gutenberg (500K+ 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

↑↓ bewegen↵ öffnen