Linux 软件免费装
Banner图

Visibility Controls for Editor Blocks

开发者 doroshchuk
denisdoroshchuk
更新时间 2026年5月7日 16:39
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv3.0
版权网址: 版权信息

标签

gutenberg conditional blocks block visibility responsive design responsive blocks

下载

1.1.0 1.2.0 1.2.4 1.0.0 1.0.3 1.0.4 1.0.6 1.0.7 1.0.8 1.0.1 1.0.5 1.0.9 1.1.3 1.2.1 1.0.2 1.1.1 1.1.2 1.2.2 1.2.3

详情介绍:

Visibility Controls for Editor Blocks adds native visibility settings to the WordPress block editor, so you can hide or show Gutenberg blocks based on screen size and user login status without writing custom CSS. Use it to hide blocks on mobile, tablet, or desktop, show different content to logged-in users and guests, and fine-tune responsive layouts with your own breakpoints. The controls appear directly in the block editor sidebar, so you can manage visibility while editing your content. The plugin works with regular Gutenberg blocks and modern dynamic blocks, including block theme and site editor contexts. Need more advanced conditional visibility? Visibility Controls for Editor Blocks Pro adds user role visibility, date and time scheduling, URL/query parameter rules, and an optional cache-friendly frontend mode for scheduled and URL-based rules. Key Features: Pro Features: Ideal For: Video tips for using the Visibility Controls for Editor Blocks plugin: https://youtube.com/playlist?list=PLUo5dzT4ZLuPG_2Pproj_kK_-WtHNJwzY&feature=shared

安装:

  1. Upload the plugin files to the /wp-content/plugins/visibility-controls-for-editor-blocks directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to "Settings > Gutenberg Blocks Visibility" to configure the breakpoints for mobile, tablet, and desktop devices.

屏幕截图:

  • Visibility settings in the Gutenberg editor sidebar, including device and login status controls.
  • Block visibility indicators shown inside the editor.
  • Example of how visibility settings affect the layout on a mobile device.

升级注意事项:

1.2.4
  • Adds Pro feature information in the editor and settings page while keeping existing free visibility controls unchanged.
1.2.3
  • This update improves the settings page experience and adds a delayed, dismissible review prompt.
1.2.2
  • This update improves compatibility with WordPress 6.9 and fixes dynamic block visibility behavior.
1.2.1
  • Fixed a problem with index.js
1.2.0
  • Internal build system updated to use @wordpress/scripts. No changes to plugin behavior. Safe to update.
1.1.2
  • Fixed a problem with some dynamic blocks
1.1.1
  • Tested up to WordPress 6.8
1.1.0
  • Tested up to WordPress 6.7.1
1.0.9
  • Tested up to WordPress 6.7
1.0.8
  • This update replaces deprecated function
1.0.7
  • This update adds video tips for using the plugin to the settings page
1.0.5
  • This update adds new options to hide blocks for logged-in and non-logged-in users, improving visibility control in the editor. You will now see visual indicators for blocks that are hidden based on user login status.
1.0.0 Initial release.

常见问题:

How do I set custom breakpoints?

In the WordPress admin area, navigate to Settings > Gutenberg Block Visibility to configure custom breakpoints for mobile and tablet devices.

Can I hide a Gutenberg block on mobile only?

Yes. Select a block in the editor and enable Hide on Mobile in the Visibility Settings panel.

Can I show content only to logged-in users or guests?

Yes. You can hide blocks for logged-in users or hide blocks for non-logged-in visitors, which makes it easy to show different content to members and guests.

Does it work with dynamic blocks and block themes?

Yes. The plugin supports modern dynamic Gutenberg blocks and block theme rendering contexts.

Is there a Pro version?

Yes. The Pro version includes all free visibility controls and adds user role visibility, date and time scheduling, URL/query parameter rules, and cache-friendly frontend processing for selected rule types.

Can Pro visibility rules work with full-page cache?

Yes, with the Pro frontend cache-friendly mode. In that mode, scheduled visibility and URL/query rules are evaluated in the browser. Role-based rules remain server-side for privacy and should be used with cache rules that vary or bypass logged-in users.

Does this plugin support other block editors like Elementor or Beaver Builder?

No, this plugin is designed to work specifically with the Gutenberg block editor.

Will this plugin affect the performance of my website?

The plugin only adds small visibility classes and the CSS needed to hide matching blocks. It is designed to stay lightweight and avoid changing your block content structure.

更新日志:

1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.3 1.1.2 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.0