Remove Unwanted Block Suggestions of Block Directory From Editor is a simple lightweight plug & play plugin. It will help you to Remove Block Directory From your Block Editor. 😁
Note: it's a plug-and-play plugin with no setting page.
If you search for a block, if this block is not on your site, WordPress shows the possible suggestion on that category of the blocks. Also, it offers similar blocks as suggestions. But it's sometimes annoying to you and confusing as well. It will confuse your clients as well. I believe you don't want to mess up with your site's setup.
But there's no clear way of disabling the Block Directory for the nontechies. We expect sites to want to control whether the Block Directory is available and disable it. We would like to disable it on some of our sites.
There is a long discussion on Github. So many developers came up with possible solutions. The WordPress core solution is easy for developers. Here is the solution:
https://developer.wordpress.org/block-editor/reference-guides/filters/editor-filters/#block-directory
But for us who are non-techies, afraid of adding codes to the core files. So we need a simple solution. So I came up with this simple plugin. It has no settings. Just install, and active the loading block suggestion will be removed.
I'm thankful to Tom J Nowell (
https://github.com/tomjn). I took his code snippet and made this plugin for helping the non-techies.
His code is available here:
https://github.com/WordPress/gutenberg/issues/23961.
Icon Credit Flaticon (
https://www.flaticon.com/)
My Other Creations - 😃
🖌
Theme
➤
Mr.Writer - it is a minimalistic theme for bloggers or writers. Get it now -
https://wordpress.org/themes/mrwriter/
🔌
Plugins
➤
Remove Website Link Field From Comment Section - it is the simplest and lightweight plugin which will help you to protect your site from spamming. 😁 Get it now -
https://wordpress.org/plugins/remove-website-link-field-from-comment-section/
➤
Which Elementor Addon - It is a simple lightweight plugin. It will help you to find out the widget’s plugin name that you have used in creating your web pages/posts in the simplest way. 😁 Get it now -
https://wordpress.org/plugins/which-addon-for-elementor/
➤
Custom CSS for Elementor - It is a handy tool for writing CSS codes within different devices like Desktop, Tablet & Mobile for Elementor Widgets. It will help you to not bother with writing media queries several times. Custom CSS for Elementor plugin comes with the default media query system. 😁 Get it now -
https://wordpress.org/plugins/custom-css-for-elementor/
It's really easy and super simple to install
Remove Unwanted Block Suggestions of Block Directory From Editor.
Automatic Installation
- Go to the
Plugins > Add New
screen in WordPress.
- Search for Remove Unwanted Block Suggestions of Block Directory From Editor.
- Install and activate the plugin; that's it.
Manual Installation
- Download Remove Unwanted Block Suggestions of Block Directory From Editor.
- Extract the
Remove-Unwanted-Block-Suggestions.zip
file. You'll get plugin files inside the Remove-Unwanted-Block-Suggestions.zip
directory.
- Upload the plugin files to the
/wp-content/plugins/Remove-Unwanted-Block-Suggestions
directory.
- Activate the plugin through the 'Plugins' screen in WordPress.
1.1
New: WordPress Version 6.2.2 Compatibility.
Added - my other plugins info added in the readme file.
1.0
New: First Release of Remove Unwanted Block Suggestions of Block Directory From Editor