WordPress.org

Ready to get started?Download WordPress

Forums

WP Search highlight (11 posts)

  1. prashantp
    Member
    Posted 10 years ago #

    When doing a search (via the WP search block), is there a plugin which enables the search terms to be highlighted?
    (In a simlar way to the google plugin)

  2. tedfox
    Member
    Posted 10 years ago #

    uh.. isn't there a plugin that comes with the defaul installation??

  3. lawtai
    Member
    Posted 10 years ago #

    i think the plugin is for google search not the wordpress search

  4. zadu
    Member
    Posted 10 years ago #

    Yes this would be useful - highlight WP search terms just like Google ones

  5. EyeNo
    Member
    Posted 10 years ago #

    The default search hilite plugin works with both internal and external searches.

  6. lawtai
    Member
    Posted 10 years ago #

    for me some reason it doesn't highlight internal searches

  7. zadu
    Member
    Posted 10 years ago #

    same here, using WP1.2. Is there another serach hilite plugin somewhere?

  8. carthik
    Member
    Posted 10 years ago #

    I run WordPress 1.2 and as you can see here, from the search results for "good" using the wordpress search tool, all occurences of the word good are highlighted in orange :
    http://blog.carthik.net/index.php?s=good&submit=Search
    There must be some reason why it isn't working on your site, though, lawtai and zadu, please check everything again, and if that does not work, please let us know.

  9. carthik
    Member
    Posted 10 years ago #

    zadu, it seems to work on your page as well :
    http://www.zappeduster.com/index.php?s=got&submit=Search+ZD
    all the "got"s are highlighted.

  10. zadu
    Member
    Posted 10 years ago #

    Just tried it again, it seems to highlight the terms of the previous search - and if it's the 1st search, nothing. This happens both on my site and Carthik's, and with one serach term or two. Using FF 0.9.3 (shouldn't be browser-dependent, right?). My blog is a fairly bog-standard WP1.2 install with only minor hacking to accomodate static pages. 2fargon'S, I dunno. Can anyone confirm this?

  11. carthik
    Member
    Posted 10 years ago #

    Yes, it does that on my site. It is not perfect. If you search for "good back" on my site, it does not highlight some backs. The thing about the previous search items being highlighted is true too. I can look into this when I have some time. You can contact Ryan Boren, the author of the plugin if you want to.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.