• Resolved mtosh

    (@mtosh)


    Hello, Highlight Search Terms,

    By implementing the code provided here I was able to temporarily turn off all highlighting on the post page. However, I would like for highlighting to remain on the post page search term and to turn off highlighting on only the post-page-menu URLs.

    Your assistance is appreciated.

    Michael

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Michael, I’m not sure what you mean:

    turn off highlighting on only the post-page-menu URLs.

    Does a search term that is also present in the menu get highlighed? Could you provide an example of what goes wrong?

    Thread Starter mtosh

    (@mtosh)

    Hi, Ravan, thank you for replying!

    Yes. From the home page, for example, when I search (search field on right side of heading) for “contact” and then click through to the post page, the menu links have all been modified with:
    /?hilite=’contact’

    One thing I tried (but it did not help) was editing “highlight-search-terms/hlst.php” as follows, starting on line 57:
    static $areas = array(
    ‘#content’,
    ‘.entry-content’
    );

    Thanks much for your assistance,
    Michael

    Hi, I see what you mean. It will be fixed in the next release. Please stand by for a plugin update ??

    Thread Starter mtosh

    (@mtosh)

    Wow! That was fast on the update!

    It fixed the problem!

    Thanks, Ravan!

    Regards,
    Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing Highlighting From Post-Page-Menu URLs’ is closed to new replies.