Ignore block name in search

Description

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

Based on Search Ignore HTML Tags by Pramod Sivadas

Installation

  1. Upload the zip file from this plugin on your plugins page or search for Ignore block name in search and install it directly from the plugin directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done!

FAQ

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 law 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.

Can I help you?

Thanks for asking! Yes, I’m very interested in edge cases and imcompatibilities (other plugins or server configurations).
Please report on the Github page.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Ignore block name in search” is open source software. The following people have contributed to this plugin.

Contributors

“Ignore block name in search” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Ignore block name in search” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release