How can I highlight the keyword in a search result?

{exp:search:results highlight="yes" backspace="5"}

But highlight is not working..


There is no highlight function with the native EE search module.

You may want to invest in Low Search which is infinitely better http://gotolow.com/addons/low-search

  • Thanks for quick response, But I dont want to go with paid one.. Aug 31 '15 at 6:08

Some quick research shows their isn't an easy answer without noodling some complicated PHP, or writing your own extension that hooks in to the search results. By why bother when this might already be solved?


Try that addon. It hasn't been updated recently, but it got the nod from Derek Hogue, who is a very regular and strong member of this community.l


There isn't a highlight parameter on the search module.

But you can use a first party add-on available on EllisLab github account.


I don't know if javascript can be an option for you but that should be fairly easy. If you're using jQuery, maybe you can try this plugin .

  • If the keywords are in a GET query, this plugin could work. FYI, I wouldn't recommend spending too much time on this user's questions; despite asking several questions and getting good/solving answers in the last 40 days, this person never returns to award the answerer. I hope they change their ways, I'd like to encourage helping!
    – jrothafer
    Sep 18 '15 at 6:12
  • Well, let's hope this helps someone else then ?
    – laurent
    Sep 18 '15 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.