Descrição
This plugin modifies the native WordPress search function to ignore block names in post and page content.
With this plugin activated the unexpected search results are fixed which are reported in #3739 and in #56294
Works only for MySQL 8.0.4+ and MariaDB 10.0.5+
Instalação
- Carregue o ficheiro zip deste plugin na sua página de plugins ou pesquise por
Ignore block name in searche instale-o directamente a partir do directório de plugins - Active o plugin no menu Plugins do WordPress
- Concluído!
Perguntas frequentes
-
Não vejo quaisquer alterações.
-
This plugin has no settings page. It modifies the internal search to ignore HTML comments and generated
wp-block-*class names in the post markup.Imagine a development blog using a syntaxhighlighting block. If you search on this blog to find posts with the term “syntaxhighlighting” you will get every post with code and not only those post which are really about syntax highlighting.
-
What about HTML attributes, captions, and shortcodes?
-
The plugin no longer strips HTML tags or shortcodes. Visible content, HTML attributes, captions, filenames, and shortcodes remain searchable.
-
I need more features!
-
This plugin just wants to solve this particular problem without too much overhead. If you need more customizations to your search, then please have a look at Relevanssi or Better Search.
These plugins are building up an index from your content and are therefore solving the underlying issue in another way with much more ways to customize it. And they will be even faster.
-
Posso ajudá-lo?
-
Thanks for asking! Yes, I’m very interested in edge cases and incompatibilities (other plugins or server configurations).
Please report on the Github page. -
Thanks
-
Props for helping to fix this go to espiat, l1nuxjedi, mustafauysal, ravishaheshan, and websupporter!
Avaliações
Este plugin não tem avaliações.
Contribuidores e programadores
“Ignore block names in search” é software de código aberto. As seguintes pessoas contribuíram para este plugin:
Contribuidores“Ignore block names in search” foi traduzido para 2 locales. Obrigado aos tradutores pelas suas contribuições.
Traduza o “Ignore block names in search” para o seu idioma.
Interessado no desenvolvimento?
Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.
Registo de alterações
1.3.1
- Ignore generated
wp-block-*class names in addition to block editor comments
1.3.0
- Limit filtering to block editor comments to avoid hiding visible content when markup contains unescaped
<or>characters - Keep shortcodes and HTML attributes searchable
1.2.0
- Fixed broken search for title and excerpt
- Ignore shortcodes additionally to markup
- Rename plugin
1.1.1
- Added back link to error message, if REGEXP_REPLACE is not supported
- Fixed some typos
1.1.0
- Changed approach to remove the markup (now requires MySQL 8.0.4+ or MariaDB 10.0.5+)
1.0.0
- Lançamento inicial
