Permanently Hide Various Settings in Gutenberg Block Editor

  Рет қаралды 1,795

mistergeko

mistergeko

Күн бұрын

Пікірлер: 14
@melaniesmalldesign
@melaniesmalldesign 3 жыл бұрын
This is perfect! I would love your code snippet if you have time. Thank you for sharing!
@sampohellevig7284
@sampohellevig7284 2 жыл бұрын
Great videos on Gutenberg and Kadence! Thanks for sharing👌 Keep it up 💪
@mrsevansict4482
@mrsevansict4482 Жыл бұрын
Great video, thank you.
@YvesGabioud
@YvesGabioud 3 жыл бұрын
Great solution, thanks !
@mistergeko
@mistergeko 3 жыл бұрын
Glad that you find it helpful!
@tomsiara2
@tomsiara2 3 жыл бұрын
Great soluion, thanks mate!
@mistergeko
@mistergeko 3 жыл бұрын
I'm glad it was helpful to you ;)
@anthonyperuzzo
@anthonyperuzzo 2 жыл бұрын
this is a great video. I think I saw you removed the "options" button in the top right corner of the editor. This is where users can toggle a lot of visibility and panels which i need to remove for certain users. Do you have any ideas on how to do this???
@binaryfire
@binaryfire 5 ай бұрын
I'm trying to do the same thing! Did you manage to figure out a solution?
@stevebab
@stevebab 2 жыл бұрын
Thanks @mistergeko. I have a request for a video: how to change the default settings in a Gutenberg block. For example, the File Block always adds a "Download" button and puts pdfs in an embedded by default. I would like to change the default settings to be NO button and NO embed. I'd love to know your take on that.
@Minotauro_di_Chieti
@Minotauro_di_Chieti 3 жыл бұрын
Compliments man, this is a great, great contribution for us. I have a few questions, if you don't mind: 1 - Could you explain the block type name (including namespace) 'cc/ma-block-files'? 2 - in your opinion, this cose is 100% sure? can we use it or it needs more improvements/testing? Thank you again.
@Jxerot
@Jxerot 2 жыл бұрын
How to check if "postType == post" and then removeEditorPanel? Don't want to remove on every editor screen only on the post editor screen. Can't find any good data. wp.data.select('core/editor').getCurrentPostType(); gives NULL
@erenversu2818
@erenversu2818 3 жыл бұрын
its posible to remove "revisions" panel like you remove the other panels? i search for this, and found a css way to do it, but not worked for me. its there some js way to remove it like you do in the video?
@erenversu2818
@erenversu2818 3 жыл бұрын
i tried to add a css file (block-style.css) in the child theme folder, add this code: .... .components-panel__body.edit-post-last-revision__panel { display:none !important; }) ......... then go to function.php and add this: ..... wp_register_style( 'cc-block-style', get_stylesheet_directory_uri() .'/block-style.css', // adjust file path array( 'wp-edit-post' ) ); register_block_type( 'cc/ma-block-files', array( 'editor_style' => 'cc-block-style', ) ); .... it work, remove revisions panel but make that the other code (all that you do in the video) stopped to work. can you help to understand why this code interfer with the code that yo do in the video
Do You Need a Child Theme in WordPress and How to Create One
18:22
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 9 МЛН
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 51 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 17 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
Back-end Case Study (Kadence Theme & Gutenberg)
50:54
mistergeko
Рет қаралды 2,1 М.
How To Limit Search Results in WordPress
13:29
mistergeko
Рет қаралды 6 М.
13 Things To Remove From Your Website Immediately
12:33
Orbit Media Studios
Рет қаралды 324 М.
Change Posts Per Page for Custom Post Types in WordPress
12:07
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 1,1 МЛН
Advanced Custom Fields Free Fork (or Hostile Takeover?)
14:04
Elementor pricing change - Are you switching to Gutenberg?
18:22
Kadence Hooked Elements with Dynamic Content (ACF)
12:00
mistergeko
Рет қаралды 8 М.
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 9 МЛН