Block Visibility — Conditional Visibility Control for the Block Editor

plugin banner

Show or hide any WordPress block with ease. Schedule when blocks should be visible. Restrict…

Author:Nick Diego (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:6.1.1
Plugin version:2.5.4
Added to WordPress repository:11-08-2020
Last updated:06-02-2023
Rating, %:98
Rated by:41
Plugin URI:https://www.blockvisibilitywp.com/
Total downloads:78 390
Active installs:8 000+
plugin download
Click to start download

Effortlessly create dynamic content in WordPress that will increase conversions, enhance the user experience and improve your workflow.

With this no-code solution, control which blocks are visible on your website and who can see them. Schedule content to show or hide at a specific time. Display exclusive promotions to your customers or members. Restrict blocks to specific user roles, screen sizes, query strings, ACF fields, WP Fusion tags, and more.

Built exclusively for the WordPress Editor (Gutenberg), Block Visibility is designed to work with any WordPress block. This includes Core, third-party blocks, and even block-based widgets.

See How It Works

For more informational videos, visit our YouTube channel.

Create Conditional Blocks in Seconds!

Work directly in the WordPress Editor with blocks you’re already familiar with. There is no external editor or new interface to learn. In a matter of seconds, you can transform static blocks into conditional and personalized content.

It takes just 3 simple steps:

  1. Create your content using any WordPress block.
  2. Select the desired visibility conditions.
  3. Save the page/post and marvel at the results!

Free Features

Visibility Controls determine whether a block should be visible to users on the front end of your website. Free controls include:

  • Hide blocks from all users.
  • Schedule when content should be visible using a start and end date/time.
  • Conditionally display blocks based on screen size (Desktop, Tablet, Mobile, and more)
  • Only show blocks to logged-in users.
  • Only show blocks to logged-out users.
  • Only show blocks to users with specific roles (Administrator, Subscriber, Customer, Member, etc.)
  • Only show blocks to specific users. Great for personalization.
  • Show or hide dynamic blocks based on URL query strings. Great for marketing campaigns!
  • Advanced Custom Fields (ACF): Control the visibility of block content based on ACF fields.
  • WP Fusion: Combine Block Visibility with the power of WP Fusion to conditionally show or hide content based on data from your favorite CRM or marketing automation platform.

PLUS: Powerful Settings allow you to customize Block Visibility to your needs or those of your clients.

  • Globally disable any visibility control.
  • Restrict visibility controls to specific block types.
  • Set permissions so only certain users have access to visibility conditions.
  • Configure up to 4 different breakpoints to optimize the screen size controls.
  • Disable contextual indicators and other plugin utilities.
  • Customize the contextual indicator color to enhance theme compatibility.
  • Enable Full Control Mode ???? (See the FAQs).
  • Remove all plugin settings on uninstall.

Pro Features

Take Block Visibility to the next level with Block Visibility Pro. The Pro add-on enhances your marketing capabilities, improves compatibility with new Full Site Editing features, and introduces eCommerce integrations.

Here’s a look at what’s currently included with Pro:

  • Visibility Presets allow you to control multiple blocks at once.
  • Show or hide blocks based on their location and “attributes” of their location (post type, taxonomy, archive, etc.)
  • Advanced day-of-week and time-of-day controls, which include recursion functionality.
  • Display blocks based on a website visitor’s referral source (domain/URL).
  • Support for all post and user metadata (custom fields).
  • Display blocks based on HTML cookies.
  • WooCommerce conditional block logic for shopping cart contents, product details, customer metrics, and more.
  • Easy Digital Downloads conditional block logic for shopping cart contents, customer metrics, and more.
  • eCommerce rules for when customers place their first/last order or purchase specific products.
  • Access to premium email support.
  • More conditions coming soon.

Learn More About Pro →

Why Do I Need This?

While there are countless applications for conditional blocks, here are a few examples to get you started:

  • Use as a content management tool. Hide new blocks while working on them, but keep the page published.
  • Temporarily hide seasonal content on your website rather than having to delete it.
  • Schedule time-sensitive promotional content or event information to display automatically.
  • Show or hide specific content on desktops, tablets, or mobile devices.
  • Restrict content, so it’s only visible to your customers, members or subscribers.
  • Display messaging to logged-out users, encouraging them to subscribe to your blog.
  • Create unique marketing campaigns using query string parameters to display personalized messaging (See it in action)
  • Conditionally display elements in the Site Editor using advanced visibility logic.
  • Increase visitor engagement and conversions with dynamic content and personalization.

Why Choose Block Visibility?

1. Easy to Use
Block Visibility is the easiest way to create conditional blocks in WordPress. All with no code and just a few clicks!

2. A Balance of Power and Simplicity
Block Visibility is for you whether you’re building a sophisticated time-based promotional campaign for your customers or need to hide a few blocks on mobile. Don’t need certain functionality? Toggle it off in the plugin settings.

3. Helpful Support and Continuous Development
Block Visibility and the Pro add-on are designed, developed, and supported by Nick and the small team at Outermost. We strongly believe the Block Editor is the future of WordPress and pride ourselves on providing timely support and new features monthly. Have an idea for additional block logic? Let us know in the plugin support forum.

For an unbiased review, the plugin was featured on WordPress Tavern.

Plays nice with others

Block Visibility is designed to work with any block and is tested with these top block libraries and plugins.

Compatibility + Direct Integration

  • Advanced Custom Fields (Free)
  • WP Fusion (Free)
  • WooCommerce (Pro)
  • Easy Digital Downloads (Pro)

Compatibility

  • Jetpack
  • CoBlocks
  • Redux Framework
  • Ultimate Add-ons for Gutenberg
  • Kadence Blocks
  • GenerateBlocks
  • Otter Blocks
  • Atomic Blocks
  • Gutentor
  • Stackable
  • Getwid
  • EditorsKit
  • Genesis Blocks

Find an issue? Let us know in the plugin support forum, and we will investigate ASAP. Excellent compatibility with the greater WordPress block ecosystem is our top priority.

Stay Connected

Stay up-to-date on Block Visibility using the links below. The plugin is also being developed transparently on GitHub, so give it a star and follow along! ????


Screenshots
FAQ
ChangeLog