跳到内容

Osom Block Visibility

v1.0.2

OsomPress · 2024年2月19日 上架

Osom Block Visibility lets you easily control block visibility from WordPress Block Editor.

正在使用
300+
评分
5.0 / 5
累计下载
2,491
最近更新
2026年9月15日
3 条评价需要 WordPress 6.3+已测试到 7.1.5PHP 7.4+

截图

New panel to control block visibility
New panel to control block visibility

Osom Block Visibility lets you easily control block visibility from WordPress Block Editor.

The plugin adds a new panel to the block editor with the controls to manage every block visibility by device or user logged status.

The advantage of Osom Block Visibility compared to other similar plugins is that it doesn’t use CSS to hide the block, but prevents it from rendering and adding unnecessary load in the first place.
This can be hugely beneficial in terms of web performance, specially if you are hidding images or other heavy content.

Features

The new Visibility Settings in the block editor will let you:
1. Hide the block on desktop.
2. Hide the block on mobile and tablet.
3. Hide the block to loggedin users.
4. Hide the block to loggedout users.

You can use it for:
* Hide any block on mobile and tablets to improve performance.
* Display/hide some menu items dependending if the user it’s loggedin or not (on block themes).
* Increase loading speed for pages with different block designs for each screen size.

Tutorial

Dev Info

The plugin uses wp_is_mobile function to check if the device it’s a mobile (or tablet) or not. This has the limitation that it can’t discern between mobile and tablet, but it has the advantage that let’s you load only the necessary block for the device. This can reduce the number of blocks loaded per page even by half in some cases.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums