SearchWP Term Highlight Extension
When SearchWP Term Highlight Extension is active, it will automatically scrub the content returned from searches and wrap search terms with a
span, allowing you to highlight them in such a way that matches your site design well.
Term Highlight also includes a function allowing you to retrieve an excerpt from the
post_content that contains at least one of the search terms. See usage below.
Installation for this Extension is the same as all other Extensions. Download the zip file from your Account, upload and install as you would any other WordPress plugin. Term Highlight will show up in your Plugins list in the WordPress administration area, and you can activate it.
Once activated, Term Highlight will automatically highlight terms within The Loop for native WordPress searches. Highlights are applied by wrapping terms in
<span class="searchwp-highlight" />, which you can target in your CSS.
Term Highlight will also automatically override calls to
the_excerpt() by replacing that content with an excerpt that contains at least one search term. It will also highlight terms in this content. If you would like to disable or customize this functionality.
Please visit official plugin page for more information.
This is an extension of SearchWP Plugin. As to use this extension, you need to first install SearchWP Plugin.