Snippet: Hiding a block? #354
paaljoachim
started this conversation in
Topic Ideas
Replies: 2 comments 2 replies
-
@paaljoachim I converted this to a discussion, since that's how topic ideas start for the Dev Blog. Are you looking for a tutorial on this topic? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ndiego Nick yes. That would be great! I could then post a link to a tutorial on the old now closed issue I made a bunch of years ago. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey
I am wondering if it would be possible to hide a block?
On occasion I just want to hide a block and not remove it. To make comparisons.
WordPress/gutenberg#13373
A very very light version of @ndiego Nick's plugin here: https://wordpress.org/plugins/block-visibility/
When I think through it, it quickly becomes fairly complex.
Adding an option to the 3 dot toolbar dropdown link to where one can hide/unhide a block.
Hiding could make it grey on the backend and hidden on the frontend.
Beta Was this translation helpful? Give feedback.
All reactions