Relevanssi - A Better Search
[resolved] Persistent highlighting (3 posts)

  1. Andrzej
    Posted 1 year ago #

    Hello Mikko,

    I'm unsure when this started happening, but search result keywords are highlighted on all website pages and posts, after returning from the search results page.

    This is reproducible on a fresh WP 3.9 installation with Twenty Fourteen theme and no other plugins. At the Home page search for 'example' to see the search results page where 'example' is properly highlighted. Go to the Home default example page and all 'example' works are highlighted.

    Is this expected behaviour?

  2. Mikko Saari
    Plugin Author

    Posted 1 year ago #

    No, it's not expected behaviour, and I can't reproduce it either. Are you using the "Highlight query terms in documents from local searches:" option?

  3. Andrzej
    Posted 1 year ago #

    Ahhh, I see that highlight settings for documents and comments were "improperly" enabled:

    [x] Highlight query terms in documents from local searches
    [x] Highlight query terms in comments

    After turning these off, our search results are back to normal behaviour. Thanks for solution.


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