Relevanssi - A Better Search
[resolved] Highlight for custom fields and taxonomy's (2 posts)

  1. NvAsselt
    Posted 2 years ago #

    First of all, great plugin! The search results are exactly how I want them to be but the highlight for the custom fields and taxonomy is not working. Is there a way to realize this? And is this a problem with my theme or doesn't the plugin support highlighting search terms in custom fields/taxonomy's?


  2. Mikko Saari
    Plugin Author

    Posted 2 years ago #

    It is a Relevanssi limitation, Relevanssi only highlights the excerpt and the title. Use "relevanssi_excerpt_content" filter hook to add the custom field contents to the excerpt, then the highlighter can find them. See filter hooks in the manual.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic