Messages aléatoires pour le bloc de boucle de requête
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.
Envisager une 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.
- Petite base d'utilisateurs (30+ installations actives)
- Très peu de critiques jusqu'à présent
- Uniquement testé jusqu'à WordPress 6,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Random Posts for Query Loop… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| éditeur de blocs | >100 |
| Gutenberg | >100 |
| ordonner par | #80 |
| query loop | #56 |
| fait au hasard | >100 |
Adoption de version
Part de sites actifs par version.
About Random Posts for Query Loop Block
À partir du Lisezmoi officiel · v1.0.5Description
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 APIorderbyenum 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
-
Upload the plugin folder to
/wp-content/plugins/random-posts-for-query-loop-block/
or install it via Plugins → Add New → Upload Plugin. -
Activate the plugin via Plugins → Installed Plugins.
-
Open the Site Editor and edit a template or page containing a Query Loop block.
-
Switch to Code Editor
(top-right kebab menu → Code editor). -
Find the
wp:queryblock and set:“orderBy”: “rand”
Journal de modifications
Initial public release. Safely enables random ordering in the Query Loop block without breaking the Site Editor preview.
1.0.5
- Initial release. Adds
randto the REST APIorderbyenum so Query Loop can safely use random order.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Random Posts for Query Loop B… alternatives
Tous les plugins de blocs-éditeurs →FAQ
Random Posts for Query Loop Block: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : 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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit


