Show matches in search result

[ad_1]

Hi
one of the stengths of relevanssi is, that it can show and highlight the search term matches when listing hits.

is there a way to get this information in this plugin, in order to display it via the search-result template?

Thank you!

Edit, figured it out:
relevanssi_the_title() instead of the_title() gets the title with highlighted hit
relevanssi_the_excerpt() gets the content with highlighted hits (probably needs some customizing thru the filters)

GREAT! 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer