University of Wisconsin–Madison

Hide blocks and page content

Last updated:

You can hide content using WordPress’s built-in Hide block feature. In the UW Theme, this option is intentionally limited to the Group and Cover blocks to ensure hidden content behaves predictably and is easy to manage.

Note: You cannot currently hide content inside of the UW Hero Carousel block, even though it uses the Cover block. Content will hide, but the carousel will not work as expected.

About hiding blocks

You may want to keep content in the editor without showing it on the published page. For example, when working on draft content, layouts, or hiding seasonal content.

Hidden blocks:

  • Are not visible in the block editor until unhidden
  • Do not appear on the published page
  • Are not read by screen readers
  • Are not indexed by search engines
  • Display a slashed eye icon in List View
Group block in the List View with slashed eye icon indicating it's hidden from view.
Example of Group block hidden in List View

How to hide blocks

When you hide a Group or Cover block, all content inside it is hidden as well. To hide multiple items, group them together first and hide the Group.

  1. In List View, select the Group or Cover block.
  2. Open the More options (three-dot menu) and select Hide.
  3. The block appears with a slashed eye icon in List View, indicating it’s hidden.

For a video walkthrough and more details, see the WordPress documentation on hiding blocks.