WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Andrzej
    Member
    Posted 2 months 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
    Member
    Plugin Author

    Posted 2 months 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
    Member
    Posted 2 months 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.

    -Cheers

Reply

You must log in to post.

About this Plugin

About this Topic