Title: Ignore block names in search
Author: Torsten Landsiedel
Published: <strong>6 Gennaio 2023</strong>
Last modified: 1 Luglio 2026

---

Ricerca i plugin

![](https://ps.w.org/ignore-block-name-in-search/assets/banner-772x250.png?rev=3590389)

![](https://ps.w.org/ignore-block-name-in-search/assets/icon-256x256.png?rev=3590389)

# Ignore block names in search

 Di [Torsten Landsiedel](https://profiles.wordpress.org/zodiac1978/)

[Scarica](https://downloads.wordpress.org/plugin/ignore-block-name-in-search.1.3.1.zip)

 * [Dettagli](https://it.wordpress.org/plugins/ignore-block-name-in-search/#description)
 * [Recensioni](https://it.wordpress.org/plugins/ignore-block-name-in-search/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/ignore-block-name-in-search/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/ignore-block-name-in-search/#developers)

 [Supporto](https://wordpress.org/support/plugin/ignore-block-name-in-search/)

## Descrizione

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](https://github.com/WordPress/gutenberg/issues/3739) and in [#56294](https://core.trac.wordpress.org/ticket/56294)

**Works only for MySQL 8.0.4+ and MariaDB 10.0.5+**

## Installazione

 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 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](https://wordpress.org/plugins/relevanssi/)
or [Better Search](https://wordpress.org/plugins/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.

### 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](https://github.com/Zodiac1978/wp-search-ignore-block-names/issues).

### Thanks

Props for helping to fix this go to [espiat](https://profiles.wordpress.org/espiat),
[l1nuxjedi](https://profiles.wordpress.org/l1nuxjedi), [mustafauysal](https://profiles.wordpress.org/mustafauysal/),
[ravishaheshan](https://profiles.wordpress.org/ravishaheshan), and [websupporter](https://profiles.wordpress.org/websupporter/)!

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“Ignore block names in search” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Torsten Landsiedel ](https://profiles.wordpress.org/zodiac1978/)

“Ignore block names in search” è stato tradotto in 2 lingue. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/ignore-block-name-in-search/contributors)
per il contributo.

[Traduci “Ignore block names in search” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/ignore-block-name-in-search)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/ignore-block-name-in-search/)
segui il [repository SVN](https://plugins.svn.wordpress.org/ignore-block-name-in-search/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/ignore-block-name-in-search/)
tramite [RSS](https://plugins.trac.wordpress.org/log/ignore-block-name-in-search/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

 * Initial release

## Meta

 *  Versione **1.3.1**
 *  Ultimo aggiornamento **3 mesi fa**
 *  Installazioni attive **Meno di 10**
 *  Versione WordPress ** 5.0.0 o superiore **
 *  Testato fino alla versione **7.0.7**
 *  Lingue
 * [English (US)](https://wordpress.org/plugins/ignore-block-name-in-search/), [German](https://de.wordpress.org/plugins/ignore-block-name-in-search/),
   e [Portuguese (Portugal)](https://pt.wordpress.org/plugins/ignore-block-name-in-search/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/ignore-block-name-in-search)
 * Tag
 * [better search](https://it.wordpress.org/plugins/tags/better-search/)[editor](https://it.wordpress.org/plugins/tags/editor/)
   [gutenberg](https://it.wordpress.org/plugins/tags/gutenberg/)[search](https://it.wordpress.org/plugins/tags/search/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/ignore-block-name-in-search/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

[La tua recensione](https://wordpress.org/support/plugin/ignore-block-name-in-search/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/ignore-block-name-in-search/reviews/)

## Collaboratori

 *   [ Torsten Landsiedel ](https://profiles.wordpress.org/zodiac1978/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/ignore-block-name-in-search/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LCH9UVV7RKDFY)