gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

FEATURE REQUEST: Display / Hide Blocks on Specific Devices

Open samxmunoz opened this issue 4 years ago • 3 comments

Issue

There are many instances where you may want a block to appear only on desktop, tablet, mobile - or a combination.

Proposed Solution

Add display / hide settings for blocks and allow the user to select devices to apply the settings.

This could either be added in the dropdown options for the block or under the "Advanced" settings.

If applied to the dropdown options it could use a similar UI to Divi's disable / enable feature for modules (device icons are visually "turned on" or grayed out depending on the selection).

samxmunoz avatar Jun 02 '22 18:06 samxmunoz

Hello. I did it. You can use my plugin. It adds a handy menu to the sidebar. And you can customise the breakpoints in the settings (/wp-admin/options-general.php?page=gbvc-settings). Image

DenisDoroshchuk avatar Oct 03 '24 14:10 DenisDoroshchuk

@ramonjd, @t-hamano, can we close this with recent improvements in the Block Visibility feature?

Mamaduka avatar Jun 15 '26 08:06 Mamaduka

Oh wow good find @Mamaduka Yes let's close.

ramonjd avatar Jun 15 '26 08:06 ramonjd