This project has moved and is read-only. For the latest updates, please go here.

How to show highlight search result?

Dec 7, 2010 at 4:22 AM
Edited Dec 8, 2010 at 11:59 AM

Hello,

I have search.view, show all result of search, but not have highlight

Pls help me.

Dec 21, 2010 at 8:30 PM

try in your search.view

$post.Excerpt("<p>", "</p>" ,"", 300).Replace("background-color: Yellow;" , "")