Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#47621 closed feature request (wontfix)

Add an option to hide Blocks in Frontend

Reported by: bastianfiessinger's profile bastianfiessinger Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

Gutenberg now has no support to hide certain blocks in frontend.
A functionality like "Status & Visibility" on pages / posts could be used as an inspector component in gutenberg blocks.

Change History (5)

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to Editor

#2 @pento
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thank you for the feature suggestions, @bastianfiessinger!

This is best suited to a plugin, here's an example that does something like what you're after: https://wordpress.org/plugins/hide-blocks-temporarily/

#3 @motylanogha
5 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

@pento the plugin you mentioned is no longer available.
I think this should stay as a core function to provide block temp hiding.

#4 @pento
5 years ago

  • Resolution set to wontfix
  • Status changed from reopened to closed

The EditorsKit plugin can also hide blocks based on a variety of criteria, including custom logic.

This is an advanced feature not suited to core, it's far better as a plugin, where behaviour can be customised to specific use cases, rather than needing to work for every WordPress site in the world.

#5 @bastianfiessinger
5 years ago

@pento thanks. Yeah I found out about EditorsKit a few days ago. Exactly what I was looking for.
Nevertheless i don't think such features wouldn't fit in the core, I mean other CMS like Typo3 or Contao have similar features as core features.

Note: See TracTickets for help on using tickets.