Conditional Blocks is a plugin built for WordPress that allows you to control the visibility of content under different conditions.

Why Care?

Personalization is key to keeping your visitors engaged.
Conditional Blocks Pro lets you get personal with the content you write.

Apply visibility conditions to ANY WordPress Blocks

Our Conditional Blocks plugin for WordPress gives you the power to control content with just a few clicks.
Add programmatic controls to WordPress content easily. Give it try!


Build Custom Conditions

We have opened up our Condition Builder for developers to create their own visibility conditions to use on any WordPress Block.

Responsive (Screensizes)

Great for creating blocks that are best suited for viewing on mobile, tablet, and desktop.

Logged out users

Tell logged-out users about the benefits of signing up. Display blocks for logged-out users only.

User Roles

Set the visibility of WordPress blocks for different User Roles.


Create & manage presets across multiple blocks with a few clicks.

Logged in users

Great for membership content with Gutenberg blocks! Display blocks for logged-in users only.


You can work on your content and save the post/page while keeping the selected blocks hidden from everyone

User Meta Fields

Set the visibility of WordPress blocks based on the metadata of the current user. Support custom user fields.

Time and Dates

Date Schedule – Range

Set the visibility of blocks between date ranges. You can schedule content such as banners, events, and notices to appear after a set date. Setting an end date is optional.

Date Schedule – Recurring

Running recurring events? You set blocks to be visible between time frames every day or even for specific weekdays. Mix and match Date Ranges & Recurring Dates to your needs.

Posts & Custom Post Types

Post (Includes CPT)

Select individual posts from any Post Type. Perfect for Block Widgets and Full Site Editing.

Post Taxonomy Terms

Change the visibility of WordPress blocks based on if the currently viewed post has the selected Taxonomy Terms. Also known as Post categories. Full support for Custom Post Types.

Post Archive

Detect if the current page is an Archive. Best used with the other Post conditions.

Post Type

Use Conditional Blocks Pro to detect if the current post is a specific post type and display unique blocks. Combine with other conditions to narrow down visibility.

Post Meta (Custom Fields)

Love creating Reusable Blocks, but need them to be dynamic? Conditionally display blocks based on the metadata of the post/page that visitors are viewing. Post meta fields are also known as Custom Fields.

Server Request

URL Paths

Set the block visibility based on the current URL path. Great for reusable blocks across nested domain paths.

Domain Referers

Running a Twitter promotion? No problem! Great for displaying content for people who are coming from your link on third-party sites.

HTTP Cookies

Control the visibility of blocks if browser cookies are present or not. Use it to create dynamic content site-wide.

Query Strings (URL Variables)

Great for adding dynamic content to pages based on the URL parameters.

User Agents (Devices & Browsers)

Display blocks only for devices such as iPhones, Andriod, Windows, Linux, or MacOS. You can also pick specific browsers such as Firefox, Chrome, Microsoft Edge, and Safari.


PHP Logic (Custom Conditions)

Display unique content based on PHP functions that are calculated as “TRUE” or “False”. You can also add your own block conditions this way. Conditional Blocks is easy to integrate with third-party plugins and setups.

Post ID’s

Great for reusable blocks and Full Site Editing. Display block only pages that match or don’t match specific IDs.

eCommerce support using WooCommerce

WooCommerce Cart Products

Control the visibility of blocks based on the WooCommerce products in the customer’s cart.

WooCommerce Customer Spent

Control the visibility of blocks based on the total value a customer has spent in your WooCommerce store.

WooCommerce Customer Recent Order

If your customer hasn’t made an order within the last week give them an insentive by creating unique content to get a repeat order.

WooCommerce Cart Total Value

Control the visibility of blocks based on the total value of the customer cart using WooCommerce.

WooCommerce Product Categories in Cart

Control the visibility of blocks based on if the products in the customer cart belong to specific categories.

WooCommerce Geolocation

Create unique WordPress content based on your customers physical location.

Ready to speed up your workflow?

Take control of WordPress content with powerful Conditional Blocks Pro