Can we stop highlighting Stopwords
-
Your plugin works a treat – one query…
I think that it is highlighting words (i.e. stopwords) that the WordPress search functions are purposely ignoring. See get_search_stopwords (see also parse_search_terms).
Is there a way to make the plugin match the core behaviour? i.e. not highlight words like ‘this and ‘that’. (I also think that ‘and’ is worth considering for exclusion.)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can we stop highlighting Stopwords’ is closed to new replies.