🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Highlight Search Terms icon
Activement maintenu Testé avec WP 7.1 #3 in Highlight

Highlight Search Terms

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

Installations actives6K+Niveau 5K+
Téléchargements · 30D4.7K▲ 4.4× vs prev. 30d
Évaluation5/540 avis
Score de santé89/100Excellent
Téléchargements de tous les temps192.5KSince Apr 2009
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.7PHP 5.6+
Téléchargements · 7j497▼ -3,7% Semaine sur semaine
Notre verdict

Choix

Yes — Highlight Search Terms is a safe, well-maintained plugin to use in 2026. It runs on 6K+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 89/100 on our health check.

  • Loved by users — 5/5 from 40 reviews
  • Développé activement — Dernière mise à jour il y a 4 semaines
  • Testé avec le dernier WordPress (7.1)
  • Momentum : téléchargements en hausse de 340,2 % par rapport aux 30 jours précédents

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

3527051.1KSep 5Oct 19Dec 3
Hier72
Moyenne quotidienne (1 ans)44
Jour de pointe1,4117 Novembre 2026
12 Derniers mois16K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Highlight Search Terms stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
Highlight #1 3,459 Best Highlight plugins →
hilite #1 7 Best hilite plugins →
mark #7 5,569 Best mark plugins →
recherche #27 10,000 Meilleurs plugins de recherche →
Search Terms #2 10,000 Best Search Terms plugins →

Adoption de version

Part de sites actifs par version.

  • 1.889.6%
  • 1.55.6%
  • Autres4.8%

Répartition des notes

★★★★★★★★★★ 5 from 40 reviews

  • 5★97.5%
  • 4★2.5%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Highlight Search Terms

From the official readme · v1.8.5

Description

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 other plugin compatibility. Since version 1.6 it no longer depends on the jQuery library.

Traits

  • Click through highlights: Highlights not only on WP search results page but also one click deeper inside a post page
  • Character and case insensitive (lenient) highlighting
  • Caching (WP Super Cache) compatibility
  • Search terms wrapped in double quotes now considered as single term

Compatible with

A quoi ça sert ?

This low impact plugin finds all search terms on a search results page inside each post and highlights them with a <mark class="hilite term-N"> ... </mark> 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.

Journal de modifications

Improve loading.

1.8.5

Date: 20261106

  • Only load on front-end
  • Update compatibility/tested info

1.8.4

Date 2026-05-26

  • Improved T25 theme compatibility
  • WP 7 compatibilty tested

1.8.3

Date 2024-04-05

  • Update to WP coding standards
  • WP 6.5 compatibility tested

1.8.2

Date 2022-03-01

  • Fix T_TRY error

1.8.1

Date 2022-01-31

  • Fix possible missing is_plugin_active error

1.8.0

Date 2022-01-30

  • NEW: Woocommerce compatibility
  • NEW: Search Filter Pro compatibility

Journal des modifications complet sur WordPress.org →

Captures d'écran

Example of search term highlighting with the default MARK tag.
Example of search term highlighting with the default MARK tag.
Highlight Search Terms screenshot

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Highlight Search Terms alternatives

All Highlight plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 String locator String locator Find and edit code or texts in your themes and plugins par Instawp 100K+ ★★★★★★★★★★ 4.6 (125) Il y a 2 mois 75
2 Mise en évidence du bloc de code Mise en évidence du bloc de code Ajoutez un bloc de code avec la mise en évidence de la syntaxe à l'aide de Prism.js. (Disponible pour Gutenberg et… par Loos 10K+ ★★★★★★★★★★ 4.5 (20) il y a 5 mois 62
4 Mark Posts Mark Posts Mark and highlight posts, pages and posts of custom post types within the posts overview. by flymke 1K+ ★★★★★★★★★★ 4.8 (10) Il y a 3 mois 75
5 Code Prettify Code Prettify 100% automatic code highlighting using the Prettify library. No shortcodes, no classnames… by volca 1K+ ★★★★★★★★★★ 5 (18) Il y a 2 mois 78
6 Tooltipy (tooltips for WP) Tooltipy (tooltips for WP) Automatically create tooltip boxes for your technical keywords to explain them to your site… by Jamel Zarga 1K+ ★★★★★★★★★★ 4.6 (68) Il y a 2 mois 58
7 Custom Highlight Color Custom Highlight Color Many devices and browsers provide less-than-ideal colors when selecting text on sites… de Nick Halsey 900+ ★★★★★★★★★★ 5 (5) il y a 5 mois 67
8 Mark New Posts Mark New Posts Highlight unread posts on your blog. by i.lychkov 500+ ★★★★★★★★★★ 4.8 (12) Il y a 2 ans 41
9 Colored Admin Post List Colored Admin Post List Color-code your admin post list by post status. Instantly spot drafts, pending reviews… by rockschtar 400+ ★★★★★★★★★★ 5 (3) il y a 1 semaine 77
10 Featured Post with thumbnail Featured Post with thumbnail A really simple way of putting featured posts on your website. by Giustino Borzacchiello 300+ ★★★★★★★★★★ 5 (3) il y a 14 ans 33
11 WP SyntaxHighlighter WP SyntaxHighlighter This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382. par Redcocker 300+ ★★★★★★★★★★ 5 (1) Il y a 15 ans 33

FAQ

Highlight Search Terms: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Highlight Search Terms free?

Yes. Highlight Search Terms is free to download and use from the official WordPress.org plugin directory.

Is Highlight Search Terms safe to use in 2026?

Yes — Highlight Search Terms is a safe, well-maintained plugin to use in 2026. It runs on 6K+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 89/100 on our health check.

How many websites use Highlight Search Terms?

Highlight Search Terms is active on 6K+ WordPress websites and has been downloaded 192,541 times since it launched in April 2009. It was downloaded 4,679 times in the last 30 days.

Does Highlight Search Terms work with WordPress 7.1?

Yes. The developer has tested Highlight Search Terms up to WordPress 7.2, the latest release. It requires WordPress 3.7 or newer.

What PHP version does Highlight Search Terms need?

Highlight Search Terms requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Highlight Search Terms last updated?

The latest version, 1.8.5, was released on November 6, 2026 (4 weeks ago).

Who makes Highlight Search Terms?

Highlight Search Terms is developed and maintained by Rolf Allard van Hagen.

What are the best alternatives to Highlight Search Terms?

The most popular alternatives to Highlight Search Terms are String locator (100K+ installs), Highlighting Code Block (10K+ installs) and Mark Posts (1K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir