You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
-
# Ignore block name in search
1
+
# Ignore HTML and shortcodes in search
2
2
3
-
Modifies the native search to ignore block editor comments and HTML markup
3
+
Modifies the native search to ignore HTML markup (block editor comments) and shortcodes
4
4
5
5
## Why?
6
6
7
-
This plugin modifies the native wordpress search function to ignore block names in post and page content.
7
+
This plugin modifies the native wordpress search feature to ignore HTML markup (like block names) and shortcodes in your content.
8
8
9
9
With this plugin activated the unexpected search results are fixed which are reported in [#3739](WordPress/gutenberg#3739) and in [#56294](https://core.trac.wordpress.org/ticket/56294)
10
10
11
+
**Works only for MySQL 8.0.4+ and MariaDB 10.0.5+**
12
+
11
13
## Frequently Asked Questions
12
14
13
15
### I don't see any changes.
@@ -16,9 +18,13 @@ This plugin has no settings page, it modifies the internal search to ignore HTML
16
18
17
19
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.
18
20
21
+
### What about the alt/title attribute?
22
+
23
+
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.
24
+
19
25
### I need more features!
20
26
21
-
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/).
27
+
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/).
22
28
23
29
It is building up an index from your content and is therefore solving the underlying issue in another way with much more ways to customize it. And it will be even faster.
24
30
@@ -34,6 +40,11 @@ Props for helping to fix this go to [espiat](https://profiles.wordpress.org/espi
34
40
35
41
## Changelog
36
42
43
+
### 1.2.0
44
+
* Fixed broken search for title and excerpt
45
+
* Ignore shortcodes additionally to markup
46
+
* Rename plugin
47
+
37
48
### 1.1.1
38
49
39
50
* Added back link to error message, if REGEXP_REPLACE is not supported
0 commit comments