Skip to content

[HelpHub]: Ability to hide blocks responsively. #2212

Closed

Description

@zzap

Article: https://wordpress.org/documentation/article/work-with-blocks/

Update for 7.0

  • Hide blocks based on screen size #73776
  • Block Visibility: Show viewport tooltip in list view for hidden blocks #75404
  • Block Visibility: Simplify toolbar for hidden blocks #75335
  • Block Visibility: Show keyboard shortcut in context menu #75334

General

  • Make sure all screenshots are relevant to the latest version
  • Make sure videos, if any, are up to date
  • Add ALT tags for the images
  • Make sure the headings are in sentence case
  • Convert all reusable blocks to a ‘regular block’.
  • Update the changelog at the end of the article
Directions (click to open)
  • Compare existing screenshots (on the article link) to the actual interface in the latest WordPress version.
  • Ensure you have the appropriate WordPress version and that new screenshots cover the same page area as the existing one.
  • If something is different in the latest version, make a new screenshot.
  • Upload new screenshots to the comment on this issue.
  • Request review by stating in the comment that the issue is ready for review.
Notes (click to open)
  1. You can set WordPress install in one click by visiting https://playground.wordpress.net/ or use InstaWP sandbox https://app.instawp.io/onboard
  2. We are not adding detailed updates for the Block settings - Typography, Color, Layout, Dimension and Border and for the More Options setting in the block toolbar. Pls mention the settings included for the block and link to the detailed settings pages instead.
  3. Some of the PRs have great videos that can be added to the article.
Automation (click to open)

If you want, you can assign yourself to the issue and change the label for review by posting specific keywords in a comment:

  • Assign yourself: /assign
  • Request review: /review

Read about our repo's automatisation here.

Activity

  1. added
    user documentation (HelpHub)
    on Mar 27, 2026
  2. github-actions commented on Mar 27, 2026

    @github-actions

    Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

  3. added
    7.0
    on Mar 27, 2026
  4. estelaris commented on Mar 31, 2026

    @estelaris
    Member
  5. andreawetzel commented on Apr 21, 2026

    @andreawetzel
    Collaborator
  6. andreawetzel commented on Apr 23, 2026

    @andreawetzel
    Collaborator

    Updating the List-view page would be good too: https://wordpress.org/documentation/article/list-view/

  7. andreawetzel commented on Apr 23, 2026

    @andreawetzel
    Collaborator

    In 6.9 text was added to the More Options page for Hide blocks. https://wordpress.org/documentation/article/more-options/#hide-blocks

    This could be updated to include the modal with Hide on desktop, tablet, mobile options

  8. self-assigned this
    on May 2, 2026
  9. atachibana commented on May 2, 2026

    @atachibana
    Collaborator

    These are drafts.

    Work with blocks

    https://wordpress.org/documentation/article/work-with-blocks/
    (After How to lock and unlock a block)

    How to hide a block

    Starting in WordPress 6.9, you can hide a block entirely. Starting in WordPress 7.0, you can also show or hide blocks by device type—desktop, tablet, or mobile. You can access these controls from the block toolbar, the block inspector sidebar, or the Command Palette, which opens the block visibility options modal. In List View, blocks with active visibility rules display icons indicating which devices they’re hidden on.

    hide-block.mp4

    Hide a block

    To hide a block:

    1. Select the block.
    2. In the block toolbar, click Options (the vertical three-dot icon), then select Hide.
      Alternatively, use the keyboard shortcut: ⇧⌘H (Mac) or Ctrl+Shift+H (Windows).
    Image
    1. In the Block visibility options modal:
    • Turn on "Omit from published content" to hide the block entirely, or
    • Select the device types you want to hide the block on.
    Image
    1. Click Apply.

    Tip: The “Omit from published content” option hides the block both in the editor and on the front end. When enabled, the block is omitted entirely from the page’s output, so screen readers won’t announce it and search engines won’t index it. By contrast, blocks hidden on specific devices are still included in the page’s markup and rendered in the DOM—the hiding is handled with CSS.

    Show a block’s visibility status

    In List View, you can check a block’s visibility status using the icon and tooltip.

    1. Click Document View (three horizontal lines) at the top left of the editor. In the List View tab, you should see an eye icon next to the block name.
    2. Hover over the icon to view the tooltip. It will display a message such as 'Block is hidden on Desktop'.
    Image

    Show a hidden block

    You can show a hidden block from List View:

    1. Open List View.
    2. Click Options (the vertical three-dot icon), then select Show.
    3. In the Block visibility options modal:, turn off 'Omit from published content' and/or clear any device selections that are hiding the block.
      4 Click Apply.

    List View

    https://wordpress.org/documentation/article/list-view/

    (After Locked Blocks)

    Hidden Blocks

    If a block has been hidden, a small eye icon will show next to its name in the list view.

    Image

    More Options

    https://wordpress.org/documentation/article/more-options/#hide-blocks

    Hide blocks

    Available as of WordPress 6.9, ... (same).
    Starting in WordPress 7.0, you can also show or hide blocks by device type—desktop, tablet, or mobile.
    (same video with Hide Blocks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

7.0Customization[Status] Doneuser documentation (HelpHub)

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions