WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: highlight-search-terms (Used by 71 domains)

Highlight Search Terms

πŸ‘€ Rolf Allard van Hagen πŸ“¦ v1.8.3 πŸ”— Plugin Homepage

Highlights search terms within WordPress generated search results, both on the search results page and on each linked post page itself.

This plugin is light weight and has no options. It started as very simple fusion between How to Highlight Search Terms with jQuery – theme hack by Thaya Kareeson and Search Hilite by Ryan Boren. It has since evolved with many optimizations, HTML5 and bbPress support.

Since version 1.6 it no longer depends on the jQuery library.

Features

  • Click through highlights: Highlights not only on WP search results page but also one click deeper inside any of the found pages
  • Character and case insensitive (lenient) highlighting
  • BuddyPress / bbPress compatibility: highlighting within forum searches
  • Caching (WP Super Cache) compatibility
  • Search terms wrapped in double quotes now considered as single term

What does it do?

This low impact plugin finds all search terms on a search results page inside each post and highlights them with a ... tag.
Note that N is a number starting with 0 for the first term used in the search phrase increasing 1 for each additional term used. Any part of a search phrase wrapped in quotes is considered as a single term.

What does it NOT do?

There are no CSS style rules set for highlighting. You are free to use any styling you wish but to make the highlights visible in browsers that do not support HTML5 like Internet Explorer 8 or older you absolutely need to define at least one rule.
Modern HTML5 browsers will use their own highlighting style by default, which usually is a yellow marker style background.

So what do I need to do?

In most cases, it should just work. But you can do two things to ensure backward browser and theme compatibility:

  1. Define CSS rules: There are no configuration options and there is no predefined highlight styling. You are completely free to define any CSS styling rules in your themes main stylesheet (style.css) or the Custom CSS tab if the WordPress theme customizer.
    You can find basic instructions and CSS examples in the FAQ’s.

  2. Check your theme: In most up to date themes (including WP’s own default theme) post and page content is shown inside a div with class hentry. This means search terms found in post and page content will be highlighted but not similar terms that accidentally show in the page header, sidebar or footer.
    If your current theme does not use the hentry class (yet), this plugin will look for IDs content, main and finally wrapper but if none of those are found, it will not work for you out of the box. See the last of the FAQ’s for ways to make it work.

Available hooks and filters

  1. hlst_query_vars – The array of WordPress query variables that the plugin will identify as a search query. Must return an array. Default: ['search_terms','bbp_search'] (WordPress abd bbPress search)

  2. hlst_input_get_args – An array of GET variables that the plugin will identify as a search query. Must return an array. Default: ['hilite'] (for click-through highlighting)

  3. hlst_selectors – The array of possible HTML DOM element identifiers that the script will try. The first viable identifier it finds elements of will be scanned for search terms to mark, the rest is ignored. So the order is important here! Start with the element closest to, but still containing all the post/page title, excerpt or content.

  4. hlst_events – The array of DOM event listeners that the inline script will watch for. Default: ['DOMContentLoaded','post-load'] (on Document Ready and for Jetpack Infinite Scroll and others).

  5. hlst_inline_script – The inline script that will be added to the plugin script file. Can be used to add to or alter the inline script. Must return a string.

Known issues & development

  1. If your theme does not wrap the main content section of your pages in a div with class β€œhentry” or HTML5 article tags, this plugin might not work well for you out of the box. However, you can make it work. See the last of the FAQ’s for an explanation.

  2. Josh pointed out a conflict with the ShareThis buttons plugin. Since then, that plugin has been completely rewriten so please let me know if the problem still exists. Thanks!

Please file bug reports and code contributions as pull requests on GitHub.

DomainExposuresHeadersLast Checked
a*w*l*l*f*t*a*l*.com βœ… F 2026-06-16 02:46:45
s*u*e*a*z*.c*u*t*r*2*.h*s*i*g.o*h.net (WP 5.0.25) ⚠️ πŸ‘€ F 2026-06-16 01:14:49
c*v*o*y.cz (WP 4.9.29) ⚠️ F 2026-06-13 06:30:57
c*e*s*.org (WP 5.1.19) ⚠️ F 2026-06-12 21:56:43
s*u*e*a*d*s*t*m*u*o*.com (WP 5.0.25) ⚠️ πŸ‘€ F 2026-06-11 19:56:32
m*n*r*n*.c*m.au πŸ‘€ F 2026-06-07 08:05:57
r*e*n*m*g*z*n*d*e*s*l*o*f.de (WP 5.2.2) ⚠️ F 2026-06-06 19:38:05
w*n*r*d*t*-*o*t*n*.h*m*.pl (WP 4.3.34) ⚠️ F 2026-06-06 13:01:53
f*s*i*a*e*u*a*i*n*.net (WP 4.9.9) ⚠️ D 2026-06-05 22:47:58
z*e*d*p*e*s.ru (WP 6.5.8) βœ… F 2026-06-05 21:34:52
2*t*.su πŸ‘€ F 2026-06-05 20:08:33
m*l*o*m*x*r*.com βœ… F 2026-06-03 18:44:08
a*d*t*i*v*s*.com βœ… D 2026-06-01 12:41:11
i*l*m*e*t.com (WP 4.7.29) ⚠️ F 2026-05-31 16:54:04
b*m*.ru (WP 5.0.3) ⚠️ F 2026-05-31 13:19:29
h*g*p*r*t*n*.w*e*g*n*.com βœ… F 2026-05-31 09:30:04
v*o*a*o*d*s.com (WP 4.0.1) ⚠️ F 2026-05-29 08:41:49
a*i*s*o*s*r*h*p*e*s.com βœ… D 2026-05-29 06:22:39
n*d*x*.com (WP 4.8.25) ⚠️ F 2026-05-28 22:23:48
j*s*e*t*y.com βœ… D 2026-05-28 18:25:22
j*o*m*s*a*.w*e*g*n*.com βœ… F 2026-05-28 15:31:05
m*s*e*s*r*e*-*e*i*a*s.j*o*m*s*a*.com βœ… F 2026-05-28 15:31:05
t*1*6*.com (WP 7.0) βœ… F 2026-05-28 01:23:32
k*u*l.org βœ… F 2026-05-27 15:07:47
m*l*f*a*a*h*s*.org πŸ“‘ F 2026-05-26 20:15:49
i*f*t*c*f*.com βœ… F 2026-05-26 20:10:24
s*a*n*l*v*.com βœ… D 2026-05-26 10:16:25
b*e*s*f*e*i*g.support (WP 4.7.3) ⚠️ F 2026-05-26 09:28:38
s*a*a*g*r*c*u*i*.com (WP 4.9.1) ⚠️ F 2026-05-26 08:32:12
m*t*o*o*.com (WP 6.0.1) ⚠️ πŸ”“ F 2026-05-25 04:06:51
s*w*.s*s.pl (WP 4.7.29) ⚠️ F 2026-05-25 01:08:50
f*v*u*a.com (WP 7.0) βœ… F 2026-05-24 13:31:17
e*s*n*e*g*n*s*h*e*l.com (WP 3.5.2) ⚠️ πŸ“‘ F 2026-05-24 12:36:31
a*l*r*d.org (WP 3.9.19) ⚠️ F 2026-05-23 07:14:45
a*u*h*v*e*r*i*g.com (WP 6.9.4) βœ… F 2026-05-22 02:45:13
k*v*.com (WP 7.0) βœ… F 2026-05-21 22:13:05
s*u*h*i*d*e*e*t*i*.com βœ… F 2026-05-21 16:30:24
h*g*p*r*t*u*a.com βœ… F 2026-05-21 07:43:42
h*g*p*r*t*n*r*h*e*t.com βœ… F 2026-05-21 07:43:42
h*g*p*r*t*a*e*i*a.com βœ… F 2026-05-21 07:43:42
h*c*a*t*-*o*m*n*s*t*o*.com (WP 4.5.33) ⚠️ F 2026-05-20 20:00:29
m*m*a*k.com (WP 6.9.4) βœ… F 2026-05-20 09:44:31
m*h*n.net βœ… F 2026-05-18 03:58:53
m*s*e*s*r*e*s*m*n*r*.com βœ… F 2026-05-17 21:02:03
m*r*e*i*g*t*a*e*y.com βœ… F 2026-05-15 19:09:00
a*a*e*e*e.com (WP 3.6) ⚠️ F 2026-05-15 07:18:21
u*e*i*p*.c*.jp βœ… F 2026-05-15 03:46:18
h*n*y*a*n*o*.com (WP 6.9.4) βœ… F 2026-05-14 10:01:55
a*e*u*o*s*a*s.c*m.hk βœ… F 2026-05-14 00:20:25
w*n*i*h*e*l*s*a*e.com βœ… F 2026-05-12 08:30:44
s*h*-*f*s.fr (WP 6.1.3) ⚠️ F 2026-05-12 02:03:27
g*a*n*l.com βœ… F 2026-05-12 01:46:15
c*p.p*i*j*b*e*.g*v.ph (WP 6.2.9) ⚠️ B 2026-05-11 22:23:09
q*r*u*.com βœ… D 2026-05-11 19:14:15
e*i*e*o*.ro βœ… F 2026-05-11 15:40:15
j*y*r*p.biz βœ… F 2026-05-11 07:36:46
l*l*y*o*u*.com (WP 6.9.4) βœ… F 2026-05-10 21:04:18
s*s*a*t*.com (WP 5.2.12) ⚠️ F 2026-05-10 09:27:12
s*n*l*f*a*c*.com (WP 6.8.5) πŸ”“ F 2026-05-10 03:44:33
j*m*a*g*o*b*.com (WP 4.9.29) ⚠️ F 2026-05-09 19:36:34
p*n*f*i*.com (WP 6.0.11) ⚠️ πŸ”“ F 2026-05-09 12:31:32
w*l*i*g*o*l*c*s*i*h*.com βœ… F 2026-05-09 01:26:59
l*x*l*b.com βœ… F 2026-05-08 22:37:47
p*o*r*m*n*l*c*b*s*u*i*s.org (WP 4.7.33) ⚠️ F 2026-05-07 10:50:02
f*z*t*a*a*i*.at (WP 4.7.33) ⚠️ F 2026-05-07 01:52:35
s*s*.com βœ… F 2026-05-06 17:01:21
v*k*l*e*t*s*e*h.com βœ… F 2026-05-04 05:51:41
p*r*g*n*c*s*o*b*i*d*n*.com βœ… F 2026-05-04 03:31:54
a*i*h.it βœ… D 2026-05-04 03:20:37
u*t*a*n*p*o*u*t*.com βœ… F 2026-05-03 09:06:16
j*o*m*s*a*.com βœ… F 2026-05-02 17:38:23

Top 50 Plugins

Plugin Count
elementor 1,868,053
contact-form-7 1,839,138
elementor-pro 1,086,956
woocommerce 843,096
revslider 638,354
jetpack 478,746
js_composer 447,519
wp-rocket 347,732
essential-addons-for-elementor-lite 308,278
gravityforms 300,257
complianz-gdpr 269,093
cookie-law-info 241,775
instagram-feed 235,701
google-site-kit 229,472
sitepress-multilingual-cms 229,144
google-analytics-for-wordpress 220,437
elementskit-lite 217,876
header-footer-elementor 217,110
bluehost-wordpress-plugin 192,383
gutenberg 166,413
gutenberg-core 165,241
cookie-notice 160,147
litespeed-cache 140,996
the-events-calendar 137,971
wpforms-lite 133,159
gtranslate 132,650
astra-sites 122,378
popup-maker 119,986
tablepress 115,666
woocommerce-payments 115,555
coblocks 103,081
honeypot 101,592
astra-addon 98,381
duracelltomi-google-tag-manager 97,229
wp-smushit 96,743
all-in-one-seo-pack 96,258
LayerSlider 94,649
bb-plugin 92,877
megamenu 90,546
premium-addons-for-elementor 89,861
akismet 88,120
mailchimp-for-wp 86,426
cleantalk-spam-protect 85,881
woocommerce-gateway-stripe 85,506
ml-slider 84,529
borlabs-cookie 83,528
wp-pagenavi 82,783
fusion-builder 82,411
ewww-image-optimizer 81,669
smart-slider-3 80,822

Top 50 Themes

Theme Count
hello-elementor 638,947
Divi 528,350
astra 437,220
flatsome 147,608
generatepress 130,535
Avada 128,533
pub 113,783
twentytwentyfour 87,839
oceanwp 86,469
kadence 82,000
sydney 75,827
enfold 74,519
salient 68,746
twentyseventeen 58,508
h4 58,354
bb-theme 56,485
betheme 53,931
blocksy 53,040
cocoon-master 52,732
dt-the7 47,785
twentytwentyfive 46,005
neve 41,043
Avada-Child-Theme 38,823
woodmart 34,431
gox 34,352
bridge 33,904
twentytwentyone 33,206
lightning 32,337
twentytwenty 31,198
swell 29,067
voxel 27,638
Impreza 27,599
bricks 26,946
twentytwentythree 24,833
Newspaper 24,711
sinatra 24,616
kubio 22,257
twentytwentytwo 20,450
uncode 19,869
epik-redesign 19,288
twentysixteen 19,161
storefront 18,527
pro 18,211
Total 15,275
extendable 15,037
yith-wonder 14,135
hello-theme-child-master 13,902
yootheme 13,495
themify-ultra 13,469
hestia 13,422