Bloco Logic – Controle de exibição de blocos completos
Block Logic adds a "Block Logic" field to the block editor, that lets you show or hide any block based on conditions.
Use com cautela
Block Logic works, but test it on a staging site before relying on it in 2026. It runs on 300+ sites, is rated 5/5 and was last updated 6 months ago, and scores 49/100 on our health check.
- Base de usuários pequenas (mais de 300 instalações ativas)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Block Logic stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| quadra | >100 |
| condicional | >100 |
| conditions | >100 |
| logic | #8 |
| visibility | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★★★★★★ 5 from 13 reviews
About Block Logic – Full Block Display Control
From the official readme · v2.1.6Descrição
Block Logic adds a “Block Logic” field to the “Advanced” section of the block editor (i.e Gutenberg), that lets you show or hide any block based on conditions. You can use WordPress’ Conditional Tags or any general PHP code.
Show or hide blocks based on
- User role
- User login status
- Post status
- Date and time
- The result of a custom PHP function
Recursos
- Show or hide any block using conditions
- Combine conditions with “and” or “or” operators. See FAQ Writing Logic Code
- Full flexibility: use any condition you want (you can extend base functionality with filters)
Limitations
Does not work with the Classic Block, Widget Block or Widget Area Block [‘core/freeform’, ‘core/legacy-widget’, ‘core/widget-area’], as the those blocks do not support block attributes. Does also not work with the HTML Block [‘core/html’] inside the Widget Screen, as this one also does not support block attributes there.
Configuration
Just activate the plugin. The “Block Logic” textbox will then appear in the “Advanced” section of the Gutenberg editor.
Breaking changes since 2.0.0
Since version 2.0.0 the code does not get eval’d directly, but there is a whitelist of allowed functions that can be extended via a filter.
Upgrade Notice
When upgrading to version 2.x you will need to update your logic. No return is allowed anymore and no semicolons in code as only expressions are evaluated. See FAQ Section Writing Logic Code.
Log de Changes
2.1.6
Fixed a dependency and tested with 7.0.
2.1.5
Raised version to show updated readme.txt
2.1.4
Raised version to show updated readme.txt
2.1.3
Raised version to show updated readme.txt
2.1.2
Raised version to show updated readme.txt
2.1.1
Raised version to show updated readme.txt
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Block Logic alternatives
Todos os plugins de bloco →FAQ
Block Logic: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Block Logic free?
Yes. Block Logic is free to download and use from the official WordPress.org plugin directory.
Is Block Logic safe to use in 2026?
Block Logic works, but test it on a staging site before relying on it in 2026. It runs on 300+ sites, is rated 5/5 and was last updated 6 months ago, and scores 49/100 on our health check.
How many websites use Block Logic?
Block Logic is active on 300+ WordPress websites and has been downloaded 6,970 times since it launched in January 2020. It was downloaded 254 times in the last 30 days.
Does Block Logic work with WordPress 7.1?
Block Logic 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 Block Logic need?
Block Logic requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Block Logic last updated?
The latest version, 2.1.6, was released on May 30, 2026 (6 months ago).
Who makes Block Logic?
Block Logic is developed and maintained by landwire.
What are the best alternatives to Block Logic?
The most popular alternatives to Block Logic are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito

