Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#47621 closed feature request (wontfix)

Add an option to hide Blocks in Frontend

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

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
7 years ago

  • Component GeneralEditor

#2 @pento
7 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

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
7 years ago

  • Resolution wontfix
  • Status closedreopened

@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
7 years ago

  • Resolutionwontfix
  • Status reopenedclosed

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
7 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.