Highlight Search Terms icon
Utilities

Highlight Search Terms

Very lightweight (vanilla) Javascript that wraps search terms in an HTML5 mark tag within WordPress search results.

Developer Rolf Allard van Hagen
90 Excellentmaintenance
  • 17 yearson WordPress.org
  • 9plugins
  • 109,470+installs in total
  • 4.7★avg. rating (156)
  • 100%of plugins updated this year
11/14 badges Profile →

Is Highlight Search Terms safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 2 weeks ago (version 1.8.5).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.2; the current release is 7.1. Needs PHP 5.6+.
  • Pass: Well rated Rated 5.0/5 by 40 users on WordPress.org.
  • Pass: Widely used Active on 6,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 19, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Highlight Search Terms describes itself as: “Very lightweight (vanilla) Javascript that wraps search terms in an HTML5 mark tag within WordPress search results.”

It is active on 6,000+ WordPress sites and rated 5.0 out of 5 by 40 users on WordPress.org. Developers can extend it through 0 actions and 5 filters, listed below.

We haven't published a hands-on review of Highlight Search Terms yet. Want one, or need help with it? Send us a request.

How to install Highlight Search Terms

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Highlight Search Terms” and pick the one by Rolf Allard van Hagen.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install highlight-search-terms --activate

Requirements: WordPress 3.7+ · PHP 5.6+ · tested up to WordPress 7.2

Hooks & customisation

Highlight Search Terms 1.8.5 fires 0 actions and 5 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

highlight-search-terms — top hooks
// Filter in loader.php
apply_filters( 'hlst_events', EVENT_LISTENERS );

// Filter in loader.php
apply_filters( 'hlst_inline_script', $script );

// Filter in inc/class-terms.php
apply_filters( 'hlst_input_get_args', INPUT_GET_ARGS );

// Filter in inc/class-terms.php
apply_filters( 'hlst_query_vars', QUERY_VARS );

// Filter in loader.php
apply_filters( 'hlst_selectors', NODE_SELECTORS );

Browse all 5 hooks with examples →

Highlight Search Terms: frequently asked questions

Is Highlight Search Terms free?

Yes. Highlight Search Terms is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Highlight Search Terms safe to use?

Highlight Search Terms is actively maintained: the latest version was released 2 weeks ago. Users rate it 5.0 out of 5 from 40 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Highlight Search Terms work with WordPress 7.1?

Yes. Highlight Search Terms is tested up to WordPress 7.2, the current release. It requires WordPress 3.7 or later and PHP 5.6 or later.

How many websites use Highlight Search Terms?

Highlight Search Terms is active on 6,000+ WordPress sites, according to WordPress.org. It is currently at version 1.8.5, last updated on November 6, 2026.

What are the best alternatives to Highlight Search Terms?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Utilities plugins for related options.

Can I customise Highlight Search Terms without editing its code?

Yes. Highlight Search Terms 1.8.5 fires 0 actions and 5 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 5 hooks with examples.

Done for you

Need Highlight Search Terms to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Highlight Search Terms customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Rolf Allard van Hagen. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Rolf Allard van Hagen

All 9 →

Take control of your WordPress core XML Sitemap and add a Google News Sitemap.

100,000+ installs Updated 5 months ago 85 hooks

Show an analog clock on your WordPress site sidebar or in post and page content.

1,000+ installs Updated 2 months ago 11 hooks

Alternatives in Utilities

See all →

Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

2+ million installs Updated 1 month ago 28 hooks

Easily add Custom CSS or JS to your website with an awesome editor.

600,000+ installs Updated 3 weeks ago 7 hooks
Not updated in 1+ year

This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two…

500,000+ installs Updated 1 year ago

Web Accessibility (formally known as Ally) is a free, powerful, and user-friendly plugin that helps WordPress creators build more accessible…

500,000+ installs Updated 3 months ago 18 hooks