RenderWhen for Blocks
Show or hide any block when conditions match. Developer-first API and true server-side rendering — hidden blocks never reach the browser.
Utiliser avec prudence
RenderWhen for Blocks works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.
- Petite base d'utilisateurs (<10Â installations actives)
- Très peu de critiques jusqu'à présent
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 RenderWhen for Blocks stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| éditeur de blocs | >100 |
| blocs | >100 |
| conditionnel | >100 |
| Gutenberg | >100 |
| visibilité | >100 |
About RenderWhen for Blocks
À partir du Lisez-moi officiel · v1.0.0Description
RenderWhen for Blocks adds conditional visibility to every block in the WordPress block editor. Decide who sees what, and when, with a panel that reads exactly how you’d say it out loud:
Show this block when the user is logged in.
Show this block when the date is between March 1 and March 31.
Show this block when the device is mobile.
RenderWhen is built around two ideas that set it apart from other visibility plugins:
- Server-side rendering only. When a block is hidden by a condition, it is not rendered into the page output at all. No CSS
display: none, no DOM bloat, no leaked content in view-source. Search engines, screen readers, and your page weight all benefit. - Public Conditions API. The three built-in conditions are registered through the same public API your plugin or theme can use to add your own. No hacks, no internal-only code paths.
In the editor, a subtle dashed border marks every block that carries a visibility rule, so a rule-bearing block never disappears from the published page as a surprise. A “Preview as audience” sidebar lets you simulate a logged-out visitor, a specific role, or a different device class right in the editor — blocks whose rule would hide them fade out with a clear badge, no save-and-reload cycle required.
Built-in conditions (v1.0)
- User state — show to logged-in users, logged-out users, or specific roles
- Date range — show between two datetimes, timezone-aware
- Device type — show on desktop, tablet, or mobile
Designed for
- Agencies and freelancers building client sites who want a clean, predictable visibility tool
- Developers who need an extension point, not another walled garden
- Anyone who cares about page weight and SEO hygiene
What this plugin deliberately does NOT do
It does one thing well rather than ten things adequately. Out of scope in v1.0:
- Multi-condition AND/OR groups (planned for v1.1)
- URL / cookie / referrer / geolocation conditions
- WooCommerce, ACF, or membership integrations
- A settings dashboard
If you need those today, Conditional Blocks and Block Visibility are excellent and well-established choices.
Pour les développeurs
Register a custom condition in three steps. Implement the interface, add it to the registry, ship.
add_action( 'renderwhen_register_conditions', function ( $registry ) {
$registry->register( new My_Plugin\\Conditions\\Country_Condition() );
} );
Your condition class implements RenderWhen\Conditions\Interface_Condition:
namespace My_Plugin\Conditions;
use RenderWhen\Conditions\Interface_Condition;
class Country_Condition implements Interface_Condition {
public function get_id(): string {
return 'country';
}
public function get_label(): string {
return __( 'Visitor country', 'my-plugin' );
}
public function get_schema(): array {
return array(
'type' => 'object',
'properties' => array(
'countries' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
),
);
}
public function evaluate( array $settings, array $context ): bool {
$current = my_plugin_detect_country();
return in_array( $current, $settings['countries'] ?? array(), true );
}
}
The full set of public filters:
renderwhen_register_conditions— register your conditions hererenderwhen_evaluate_{condition_id}— last-mile override of any condition’s resultrenderwhen_render_block_hidden— fires when a block is hidden, useful for cache busters and SEO toolsrenderwhen_device_type— swap in your own device detection
The plugin is developed openly on GitHub. Issues, PRs, and architecture discussions welcome: https://github.com/abhishekfdd/renderwhen
Installation
- Upload the
renderwhenfolder to/wp-content/plugins/, or install through the Plugins → Add New screen - Activer le plugin
- Edit any post or page, select a block, and find the Visibility panel in the block inspector
There is no settings page. By design.
Journal de modifications
Version initiale.
1.0.0
- Version initiale.
- Three built-in conditions: user state, date range, device type.
- Public Conditions API.
- Editor indicator and “Preview as…” mode.
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 RenderWhen for Blocks alternatives
Tous les plugins de blocs-éditeurs →FAQ
RenderWhen for Blocks: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is RenderWhen for Blocks free?
Yes. RenderWhen for Blocks is free to download and use from the official WordPress.org plugin directory.
Is RenderWhen for Blocks safe to use in 2026?
RenderWhen for Blocks works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.
How many websites use RenderWhen for Blocks?
RenderWhen for Blocks is active on <10 WordPress websites and has been downloaded 366 times since it launched in May 2026. It was downloaded 61 times in the last 30 days.
Does RenderWhen for Blocks work with WordPress 7.1?
RenderWhen for Blocks is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does RenderWhen for Blocks need?
RenderWhen for Blocks requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was RenderWhen for Blocks last updated?
The latest version, 1.0.0, was released on August 2, 2026 (4 months ago).
Who makes RenderWhen for Blocks?
RenderWhen for Blocks is developed and maintained by Abhishek Kumar.
What are the best alternatives to RenderWhen for Blocks?
The most popular alternatives to RenderWhen for Blocks 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





