前言介紹
- 這款 WordPress 外掛「Remove Unwanted Block Suggestions of Block Directory From Editor」是 2022-03-13 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2024-09-17,距離現在已有 229 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
blocks | gutenberg | Remove Block Directory | Remove Block Suggestions |
內容簡介
「Remove Unwanted Block Suggestions of Block Directory From Editor」是一款簡單的輕量化即裝即用外掛。它將幫助您從您的區塊編輯器中移除區塊目錄。😁
注意:這是一個即裝即用的外掛,無需設定頁面。
當您搜索一個區塊時,如果這個區塊不在您的網站上,WordPress 將顯示該區塊類別中的可能建議和類似的區塊作為建議。但這有時會讓您感到煩惱和困惑,也會困擾您的客戶。我相信您不希望弄亂您網站的設置。
但對於非技術人員來說,沒有明確的禁用區塊目錄的方法。我們希望網站能夠控制是否可以使用區塊目錄並禁用它。我們希望在一些網站上禁用它。
這在 Github 上有一個長期的討論。有這麼多的開發人員提出了可能的解決方案。WordPress 核心解決方案對開發人員來說很容易。這是解決方法:https://developer.wordpress.org/block-editor/reference-guides/filters/editor-filters/#block-directory
但對於我們這些非技術人員來說,害怕將代碼添加到核心文件中。所以我想出了這個簡單的外掛。它沒有設置。只需要安裝和啟用,該加載的區塊建議將被刪除。
我感謝 Tom J Nowell(https://github.com/tomjn)。我使用了他的代碼片段,製作出這個幫助非技術人員的外掛。
他的代碼在此處可用:https://github.com/WordPress/gutenberg/issues/23961。
圖示來源:Flaticon(https://www.flaticon.com/)
原文外掛簡介
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/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Remove Unwanted Block Suggestions of Block Directory From Editor」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。