WBD Conditional Block
Show or hide any Gutenberg block based on login status, user role, page type, WooCommerce and A/B testing.
Solid choice
WBD Conditional Block is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 6 days ago, and scores 64/100 on our health check.
- Actively developed — last update 6 days ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WBD Conditional Block stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| a b testing | >100 |
| block visibility | >100 |
| conditional content | >100 |
| gutenberg | >100 |
| woocommerce | >100 |
About WBD Conditional Block
From the official readme · v1.0.1Description
WBD Conditional Blocks adds a “Conditional Visibility” panel to the settings sidebar of every block in the WordPress block editor — not just a special block of its own. Turn it on, add one or more conditions, choose AND/OR logic, and the block will only render for visitors who match your rules. Everything in this plugin is free.
Why WBD_Conditional_Block
- Works on any block. Paragraphs, images, buttons, columns, WooCommerce blocks, third-party blocks — if it’s a Gutenberg block, it can be made conditional.
- Lightweight. No bloated block library, no page builder — just the visibility layer, on top of the blocks you already use.
- Everything is free. Every condition type below, AND/OR logic, analytics, and A/B testing are included at no cost.
Condition types
- Login Status — logged in vs. logged out
- User Role — Administrator, Editor, Subscriber, WooCommerce Customer, or any custom role
- Device Type — Mobile, Tablet, Desktop
- Date/Time — a specific date range, or a recurring day of the week (with optional time window) — great for countdowns and limited-time sales
- Page/Post Type — front page, blog index, search results, 404, any archive, specific post types, or specific posts/pages by name
- Geolocation — show content to visitors from specific countries (uses a CDN header when available, e.g. Cloudflare, with a cached free API fallback)
- Browser — Chrome, Firefox, Safari, Edge, Opera
- Operating System — Windows, macOS, Linux, iOS, Android
- Referrer URL — traffic from Google, Facebook, direct visits, or any custom domain
- Query String — show content when a URL parameter is present (e.g.
?source=facebook) - Cookies — match a visitor’s cookie name/value (e.g. “has visited before”)
- WooCommerce — cart contents, cart value, purchase history, lifetime spend, guest vs. customer
- Custom Fields — ACF field values, or plain post meta
- Language — the site’s active locale or the visitor’s browser language
- A/B Test Variant — randomly (and consistently) split visitors 50/50 between two versions of a block, then compare performance in the built-in analytics
AND / OR logic
Combine multiple conditions on one block and choose whether all of them must match (AND) or any of them (OR).
Conditional Group block
Need to hide several blocks together, or wrap content that doesn’t have its own settings panel? Add the Conditional Group block, drop any blocks inside it, and apply one rule set to the whole group.
Built-in analytics
Every conditional block reports how many times it was shown vs. hidden. View daily trends and per-block totals — including the A/B variant split — from WBD_Conditional_Block → Analytics in your dashboard. No data leaves your site.
White-label
Rename the plugin’s dashboard menu and pages to your own brand from WBD_Conditional_Block → Settings — handy for agencies building on client sites.
Development
Public source code repository:
https://github.com/wpbranddigital/wbd-conditional-block
Build Instructions:
- npm install
- npm run build
- npm run start (development)
WBD Conditional Block is built using @wordpress/scripts.
External services
This plugin connects to a free external geolocation API (ip-api.com) to determine a visitor’s country when the “Geolocation” condition is used.
It sends the user’s IP address to the API to obtain their country code, allowing the block visibility rules to work. The results are cached per IP to minimize requests. This service is provided by Artia International (ip-api.com).
Please review their Terms of Service and Privacy Policy.
Installation
- Upload the
wbd-conditional-blockfolder to/wp-content/plugins/, or install directly from Plugins → Add New. - Activate the plugin through the “Plugins” screen in WordPress.
- Open any post or page in the block editor, select a block, and open the “Conditional Visibility” panel in the settings sidebar (right-hand panel).
- Enable it, add a condition, and publish. That’s it.
Frequently asked questions
Does this work with any theme?
Yes. The plugin only affects whether a block’s HTML is output; it doesn’t change markup or styling, so it works with any block theme or classic theme that supports the block editor.
Does this slow down my site?
No. All checks run in plain PHP with no database queries in the common cases, and the geolocation lookup (the only condition that can call an external service) is cached per visitor for 12 hours.
Can I use this with WooCommerce?
Yes — the WooCommerce condition type is built in and only activates when WooCommerce is installed and active.
Where is analytics data stored?
In a small table in your own WordPress database. No data is sent anywhere else.
What happens to a block if I deactivate the plugin?
It simply renders normally again (unconditionally visible). No content is deleted; the condition settings stay stored on the block and reappear if you reactivate the plugin.
Changelog
Initial release.
1.0.1
- Fix: Removed “Tested up to” tag from the main plugin file.
- Fix: Added unique prefixes (
WBDCOBL_,wbdcobl_) to all functions, classes, globals, and stored data to avoid naming collisions. - Fix: Added documentation in
readme.txtdisclosing the use of theip-api.comexternal geolocation service.
1.0.0
- Initial release: 15 condition types, AND/OR logic, quick templates, the Conditional Group block, built-in analytics, A/B testing, developer API, and white-label settings — all free.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WBD Conditional Block alternatives
All a b testing plugins →FAQ
WBD Conditional Block: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Sep 30, 2026
Is WBD Conditional Block free?
Yes. WBD Conditional Block is free to download and use from the official WordPress.org plugin directory.
Is WBD Conditional Block safe to use in 2026?
WBD Conditional Block is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 6 days ago, and scores 64/100 on our health check.
How many websites use WBD Conditional Block?
WBD Conditional Block is active on <10 WordPress websites and has been downloaded 76 times since it launched in September 2026. It was downloaded 78 times in the last 30 days.
Does WBD Conditional Block work with WordPress 7.1?
Yes. The developer has tested WBD Conditional Block up to WordPress 7.1.2, the latest release. It requires WordPress 6.5 or newer.
What PHP version does WBD Conditional Block need?
WBD Conditional Block requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WBD Conditional Block last updated?
The latest version, 1.0.1, was released on September 24, 2026 (6 days ago).
Who makes WBD Conditional Block?
WBD Conditional Block is developed and maintained by wpbranddigital.
What are the best alternatives to WBD Conditional Block?
The most popular alternatives to WBD Conditional Block are Unbounce Landing Pages (10K+ installs), If-So Dynamic Content (7K+ installs) and Wingify (5K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card