• Resolved heinrichplanzer

    (@heinrichplanzer)


    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! ??

  • The topic ‘Show matches in search result’ is closed to new replies.