BLACK FRIDAY SALE ⭐ 40% OFF EVERYTHING ⭐ USE PROMO CODE BLACK AT CHECKOUTBLACK FRIDAY SALE ⭐ 40% OFF EVERYTHING ⭐ USE PROMO CODE BLACK AT CHECKOUT
WordPress plugin ·

SearchWP Term Highlight

Wraps search terms in a span in result titles and excerpts, so you can highlight them in CSS.

Version

2.1.14

Last updated

Aug 07, 2018

Works on

PHP 8.0–8.4
WordPress 7.1

Developer

Jonathan Christopher

GPL · Official site →

Auto updates Unlimited sites Unlimited downloads No daily limits

About This Plugin

SearchWP Term Highlight is an extension for SearchWP. When active, it wraps search terms in the title and excerpt of native WordPress search results with a span, so you can highlight them to match your site design. The span carries the class searchwp-highlight, which you can target in your CSS.

It replaces calls to the_excerpt() with an excerpt that contains at least one search term from the main content, and highlights the terms there too. A function also retrieves an excerpt from post content or from a custom field that contains a search term. Filters let you disable or customize the automatic behavior.

It does not highlight terms in supplemental search engine results automatically. For those you send content through the highlighter in your template. The extension is deprecated as of SearchWP 3.0.

Try it freefor 30 days

Start with the free trial. Decide after thirty days.