
內容簡介
此外掛可防止 WordPress 處理和允許任何來自網站前端的搜尋請求。具體來說,此外掛:
若主題使用標準的 get_search_form() 函式來顯示搜尋表單,則無法顯示搜尋表單。
若主題使用 searchform.php 模板,則無法顯示搜尋表單。
當前端顯示管理工具欄時,搜尋項目會被隱藏。
停用搜尋小工具。
從可用小工具列表中移除「搜尋」小工具。
停用任何正在使用的搜尋小工具,例如在側邊欄中的小工具(它們會被隱藏,而不是被刪除;若停用此外掛,它們將重新顯示在其原先位置)
停用搜尋區塊。
從可用區塊列表中移除「搜尋」區塊。
停用任何正在使用的區塊,例如在文章內或作為小工具中的區塊(它們會被停用,而不是被刪除;若停用此外掛,且相關佔位區塊未被刪除,它們將重新顯示)
即使沒有搜尋表單,此外掛也可防止訪客使用 GET 或 POST 請求直接或手動進行搜尋。
若有任何嘗試進行搜尋,將會收到 404 文件未找到的回應,由現有的 404.php 模板呈現。
停用由 Yoast SEO 外掛產生的 SEO schema 的 SearchAction 輸出。
此外掛僅影響網站前端的搜尋,並不會停用網站管理區的搜尋。
連結: 外掛首頁 | WordPress 外掛目錄頁面 | GitHub | 作者首頁
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin prevents WordPress from allowing and handling any search requests from the front-end of the site. Specifically, this plugin:
Prevents the search form from appearing if the theme uses the standard get_search_form() function to display the search form.
Prevents the search form from appearing if the theme uses a searchform.php template
Prevents the search item from appearing in the admin tool bar when shown on the front-end.
Disables the search widget.
Removes the Search widget from the list of available widgets
Deactivates any search widgets currently in use in any sidebars (they are hidden, not deleted; they’ll reappear in their original locations if this plugin gets deactivated)
Disables the search block.
Removes the Search block from the list of available blocks
Deactivates any search blocks currently in use, such as in posts or as a widget (they are disabled, not deleted; they’ll reappear if this plugin gets deactivated and the associated placeholder block doesn’t get deleted)
With or without a search form, the plugin prevents any direct or manual requests by visitors, via either GET or POST requests, from actually returning any search results.
Submitted attempts at a search will be given a 404 File Not Found response, rendered by your site’s 404.php template, if present.
Disables output of SearchAction in SEO schema by the Yoast SEO plugin.
The plugin only affects search on the front-end of the site. It does not disable searching in the admin section of the site.
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
