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

Plugin: highlight-search-terms (Used by 76 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
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
p*i*d*e*i*l*o*s*r*c*i*n.com βœ… F 2026-05-01 21:42:34
i*l*m*e*t.com (WP 4.7.29) ⚠️ πŸ“‘ F 2026-05-01 10:50:11
h*g*p*r*t*n*.w*e*g*n*.com βœ… F 2026-05-01 07:37:03
v*o*a*o*d*s.com (WP 4.0.1) ⚠️ F 2026-04-29 01:42:54
k*u*l.org βœ… F 2026-04-27 15:02:31
a*d*t*i*v*s*.com βœ… D 2026-04-27 10:27:21
n*d*x*.com (WP 4.8.25) ⚠️ F 2026-04-27 02:06:12
t*1*6*.com (WP 6.9.4) βœ… F 2026-04-26 23:04:16
m*l*f*a*a*h*s*.org πŸ“‘ F 2026-04-26 20:08:12
i*f*t*c*f*.com βœ… F 2026-04-26 19:10:20
c*n*e*i*d*g*.com βœ… F 2026-04-26 08:05:43
b*e*s*f*e*i*g.support (WP 4.7.3) ⚠️ F 2026-04-25 17:30:30
m*l*o*m*x*r*.com βœ… F 2026-04-25 09:18:07
a*i*s*o*s*r*h*p*e*s.com βœ… D 2026-04-24 06:08:44
s*w*.s*s.pl (WP 4.7.29) ⚠️ F 2026-04-24 02:37:39
e*s*n*e*g*n*s*h*e*l.com (WP 3.5.2) ⚠️ πŸ“‘ F 2026-04-23 15:44:42
m*t*i*c*n*u*t*n*.com βœ… F 2026-04-22 01:35:27
m*t*o*o*.com (WP 6.0.1) ⚠️ πŸ”“ F 2026-04-21 21:56:26
a*l*r*d.org (WP 3.9.19) ⚠️ F 2026-04-21 17:37:23
k*v*.com (WP 6.9.4) βœ… F 2026-04-21 17:09:29
j*s*e*t*y.com βœ… D 2026-04-19 17:21:54
s*a*n*l*v*.com βœ… D 2026-04-19 06:40:32
h*g*p*r*t*u*a.com βœ… F 2026-04-19 05:35:33
h*g*p*r*t*n*r*h*e*t.com βœ… F 2026-04-19 05:35:33
h*g*p*r*t*a*e*i*a.com βœ… F 2026-04-19 05:35:33
s*a*a*g*r*c*u*i*.com (WP 4.9.1) ⚠️ F 2026-04-19 05:06:27
n*o*w.org (WP 5.7.15) ⚠️ F 2026-04-19 03:27:42
f*v*u*a.com (WP 6.9.4) βœ… F 2026-04-18 20:08:13
h*c*a*t*-*o*m*n*s*t*o*.com (WP 4.5.33) ⚠️ F 2026-04-18 19:09:45
a*u*h*v*e*r*i*g.com (WP 6.9.4) βœ… F 2026-04-18 00:14:14
m*m*a*k.com (WP 6.9.4) βœ… F 2026-04-17 18:00:50
d*c*p*i*t*n*d*s*g*.com βœ… F 2026-04-17 01:09:44
z*n*a*s*c*a*e*.com βœ… F 2026-04-15 19:43:26
r*d*o*k*o*r.com βœ… F 2026-04-15 17:00:23
o*c*o*p.com βœ… F 2026-04-15 16:08:03
m*s*e*s*r*e*s*m*n*r*.com βœ… F 2026-04-15 13:05:34
z*r*b*r*e*.pl βœ… F 2026-04-15 07:31:44
j*h*w*.org βœ… F 2026-04-15 07:31:44
s*u*h*i*d*e*e*t*i*.com βœ… F 2026-04-15 06:14:34
m*r*e*i*g*t*a*e*y.com βœ… F 2026-04-13 22:15:42
h*n*y*a*n*o*.com (WP 6.9.4) βœ… F 2026-04-13 10:44:24
m*n*p*g*.com (WP 4.9.26) ⚠️ F 2026-04-11 17:12:22
e*i*e*o*.ro βœ… F 2026-04-11 13:30:24
g*a*n*l.com βœ… F 2026-04-11 12:31:29
c*m*i*g*c*n*t*u*t*o*.com βœ… F 2026-04-11 10:33:00
j*y*r*p.biz βœ… F 2026-04-11 06:08:30
q*r*u*.com βœ… D 2026-04-10 06:17:02
s*s*a*t*.com (WP 5.2.12) ⚠️ F 2026-04-05 18:12:01
s*n*l*f*a*c*.com (WP 6.8.5) πŸ”“ F 2026-04-05 13:26:05
l*l*y*o*u*.com (WP 6.9.4) βœ… F 2026-04-05 12:57:41
l*x*l*b.com βœ… F 2026-04-04 18:11:18
l*e*y*n*e*i*r*.com βœ… F 2026-04-03 22:38:31
a*b*n*e*a*.com βœ… F 2026-04-03 06:00:13
a*t*o*e*e*t*i*n*c*.com βœ… F 2026-03-31 23:18:08
a*a*e*e*e.com (WP 3.6) ⚠️ F 2026-03-31 13:46:15
a*v*i*l*a.com (WP 4.9.26) ⚠️ F 2026-03-31 13:04:46
3*n*t*o*u*i*n*.com βœ… β€” 2026-03-30 07:07:28
p*o*r*m*n*l*c*b*s*u*i*s.org (WP 4.7.31) ⚠️ β€” 2026-03-27 12:04:56
f*z*t*a*a*i*.at (WP 4.7.31) ⚠️ β€” 2026-03-27 08:50:51
c*i*u*e*h*p.jp βœ… β€” 2025-11-12 05:26:29
w*n*i*h*e*l*s*a*e.com βœ… β€” 2025-11-11 12:25:13
w*m*k*w*n*i*d*a*s.com βœ… β€” 2025-11-11 11:10:00
w*l*i*g*o*l*c*s*i*h*.com βœ… β€” 2025-11-11 11:05:41
w*s*-*.com βœ… β€” 2025-11-11 10:31:14
s*s*.com βœ… β€” 2025-11-10 08:39:16
m*i*u*u*d*.com βœ… β€” 2025-11-09 08:58:10
j*m*a*g*o*b*.com βœ… β€” 2025-11-08 10:40:06
g*r*e*w*t*r*e*t*r*s*e*o*.com βœ… β€” 2025-11-07 20:00:32
g*l*n*u*.com βœ… β€” 2025-11-07 19:39:01
b*e*c.com βœ… β€” 2025-11-06 09:35:33

Top 50 Plugins

Plugin Count
elementor 2,134,436
contact-form-7 1,987,130
elementor-pro 1,215,614
woocommerce 991,424
revslider 730,564
js_composer 489,156
jetpack 477,262
wp-rocket 363,373
essential-addons-for-elementor-lite 327,861
gravityforms 277,028
header-footer-elementor 266,685
complianz-gdpr 255,279
instagram-feed 253,476
google-analytics-for-wordpress 249,228
elementskit-lite 249,035
gutenberg-core 246,878
cookie-law-info 245,100
google-site-kit 244,358
sitepress-multilingual-cms 224,973
bluehost-wordpress-plugin 212,938
wpforms-lite 180,009
astra-sites 172,308
gutenberg 160,540
litespeed-cache 159,574
cookie-notice 145,251
gtranslate 145,020
coblocks 135,812
the-events-calendar 132,477
popup-maker 124,886
astra-addon 107,626
bb-plugin 106,998
tablepress 106,055
LayerSlider 105,363
wp-smushit 104,444
premium-addons-for-elementor 103,465
woocommerce-payments 101,228
mailchimp-for-wp 101,138
duracelltomi-google-tag-manager 96,938
honeypot 94,491
cleantalk-spam-protect 93,970
akismet 93,550
woocommerce-gateway-stripe 92,079
megamenu 89,459
creame-whatsapp-me 88,040
fusion-builder 87,490
smart-slider-3 86,311
formidable 85,167
all-in-one-seo-pack 84,707
pixelyoursite 83,486
pro-elements 83,391

Top 50 Themes

Theme Count
hello-elementor 703,507
Divi 584,993
astra 541,268
pub 167,274
Avada 134,782
generatepress 132,462
flatsome 132,067
oceanwp 96,456
h4 93,711
kadence 87,540
enfold 77,081
salient 74,150
bb-theme 66,776
twentytwentyfour 65,676
blocksy 60,924
twentyseventeen 60,696
cocoon-master 60,407
betheme 58,908
twentytwentyfive 58,322
dt-the7 50,019
woodmart 43,648
neve 43,495
twentytwentyone 37,716
Avada-Child-Theme 37,521
bridge 37,032
gox 35,255
twentytwenty 33,282
lightning 32,380
swell 31,887
twentytwentythree 30,203
bricks 27,398
Impreza 27,306
Newspaper 24,555
twentytwentytwo 24,043
epik-redesign 21,966
pro 20,182
storefront 20,026
uncode 19,959
extendable 19,952
twentysixteen 19,770
sydney 18,116
yith-wonder 17,850
themify-ultra 16,415
Total 16,114
twentyfifteen 14,524
hestia 14,237
porto 14,110
twentynineteen 13,634
yootheme 13,525
thrive-theme 13,408