WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. NvAsselt
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year 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

About this Topic