New Feature: Earn 12 Badges
Collect up to 12 exclusive badges by sharing your plugin collections and engaging with the community.
See all Badgesby Conditional Blocks
Conditional Blocks is a powerful, no code plugin that allows you to control the visibility of any WordPress blocks with advanced logic.
Replace multiple plugins with our versatile Conditional Blocks, developed for fast paced freelancers and agencies.
Get the full overview on conditionalblocks.com
Everything is block in modern WordPress development with Full Site Editing (FSE). In plain words, you apply visibility logic to everything.
Here’s some example use-cases where Conditional Blocks shines.
The free version of Conditional Blocks offers 3 visibility conditions + The Conditions API for creating your own conditions .
The free version is limited.
Consider joining our PRO community to create better WordPress sites & support development.
Conditional Blocks Pro gives you the full suite of visibility conditions & integrations with your favorite plugins.
User Role-Based Visibility: Control which blocks are visible to different user roles, including WooCommerce customers, admins, editors, subscribers, and custom-defined roles.
Scheduling Options: Set blocks to appear during specific date ranges, times, or on selected days of the week.
Device & Browser Specific Content: Tailor content to appear on certain devices (iPhone, Android, etc.) or browsers (Chrome, Firefox, etc.).
Referrer-Sensitive Blocks: Customize visibility based on the referring URL, such as Google or X (Twitter).
Dynamic Display Logic: Use post meta fields or URL query strings to dynamically show blocks, ideal for working with form plugins and custom data.
Selective Content Placement: Specify block visibility for certain post IDs, URL paths, custom post types, taxonomies, and terms.
Meta-Based Control: Manage visibility based on custom fields, user meta, or post meta.
WordPress Archive Integration: Toggle block visibility in response to WordPress archives.
Presets for Conditions: Save conditions as presets and apply them site-wide for consistent behavior.
Custom Conditions: Craft custom PHP or function-based conditions for unique display scenarios.
Combine with AND, OR logic: You can combine all visibility conditions into groups using our AND, OR logic.
SEE ALL CONDITIONAL BLOCKS PRO FEATURES
Conditional Blocks Pro integrations are automatically available when the supported plugins are installed.
Managing WordPress content via blocks becomes easier when you know the tips & tricks. You can find more on our blog.
Use the Lockdown condition to create draft blocks inside live content, and simply remove the condition when you’re ready to publish. You don’t have to worry about people seeing the content before it’s complete. Using the Lockdown Condition eliminates need to create a separate draft page.
One of our favorite methods of managing WordPress content is to use Group Blocks. If you setup a Group Blocks you can set conditions directly the Group, this means that all nested blocks inside the Group will automatically follow the same visibility conditions.
Yes it’s also possible to pre-make dynamic templates using Conditional Blocks. You’ll have to make use of the WordPress Design Patterns. Simply make a patterns as you’ve also done while applying the visibility rules.
The patterns will be ready and be conditionally displayed when you insert it on a page. We personally use the same method on Synced Patterns too. (Previously known as Reusable Blocks in Gutenberg).
Control access to any block by clicking on it within the Block Editor and using the Condition Builder to add visibility rules. Perfect for members-only content.
Effortlessly adapt your blocks for mobile, tablet, or desktop display, automatically showing or hiding content according to screen sizes.
Conditional Blocks works with any theme or plugin that uses the WordPress Block Editor (also known as Gutenberg). Block widget & Full Site Editing (FSE) within themes are also supported.
Tested and compatible with:
For support or help with other plugins, please get in touch.
All texts and images on this product page are protected by copyright and are the property of the author Conditional Blocks. You will be redirected to the retailer to download the plugin. We act solely as a search engine for plugins and are not affiliated with the retailer or Conditional Blocks.
Get your first Badge
Earn your first badge by sharing your collections. Every master was once a beginner. Welcome to your coding journey.
Click the symbol on the desired plugin to create a collection. The symbol appears when you hover over the plugin.