內容簡介
這個外掛讓 WordPress 內建搜尋不會搜尋文章內的 HTML 標籤。
預設 WordPress 內建搜尋會將文章內的 HTML 標籤當成搜尋內容,但這個行為常常會得到意外的搜尋結果。例如,使用關鍵字「strong」搜尋,就會回傳所有帶有 <strong> 標籤的文章;使用關鍵字「title」就會回傳所有帶有 title 屬性的 HTML 標籤(像是透過文章編輯器插入的圖片 <img> 標籤)的文章…等等。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin makes the WordPress built-in search ignore HTML tags in post content.
By default, the WordPress built-in search considers HTML tags in post content to be searchable content. This behaviour often yields unexpected results. For example, a search for the keyword “strong” returns posts with any tags in them, “title” returns posts with any HTML tags that have a title attribute (such as all the tags that you insert via the post editor media buttons)… and so on.
