This plugin modifies the native wordpress search function to ignore block names in post and page content.
Works only for MySQL 8.0.4+ and MariaDB 10.0.5+
- Upload the zip file from this plugin on your plugins page or search for
Ignore block name in searchand install it directly from the plugin directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
I don’t see any changes.
This plugin has no settings page, it modifies the internal search to ignore HTML comments 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 the alt/title attribute?
At the moment this is not searched for anymore with this plugin. Maybe I can specifically allow this in a future version of the plugin.
I need more features!
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.
Can I help you?
Thanks for asking! Yes, I’m very interested in edge cases and incompatibilities (other plugins or server configurations).
Please report on the Github page.
There are no reviews for this plugin.
Contributors & Developers
“Ignore HTML and shortcodes in search” is open source software. The following people have contributed to this plugin.Contributors
“Ignore HTML and shortcodes in search” has been translated into 2 locales. Thank you to the translators for their contributions.
Interested in development?
- Fixed broken search for title and excerpt
- Ignore shortcodes additionally to markup
- Rename plugin
- Added back link to error message, if REGEXP_REPLACE is not supported
- Fixed some typos
- Changed approach to remove the markup (now requires MySQL 8.0.4+ or MariaDB 10.0.5+)
- Initial release