I did a search for "barbershop" and several results were returned with this message:
"*** Sorry, all the search terms matched were in html attributes (such as image source) and are not displayed in the results excerpt"
Also, some of the results were showing the HTML in the text and others weren't. Not sure what you intended, but it looks a little odd.
Worked like a charm otherwise and I like the way the results are displayed.
The sorry message is normal behavior, it occurs when the keyword is not found in the posts content so there is no content to highlight. This is going to be most common when the keyword is located in the title of the post and not the posts content. Maybe a better message if the keyword is not found in the post content?
Will look into the html showing. Didn't notice that before. Might be only in some because sometimes copying and pasting from certain text editors adds it and since the preview is pulling the raw html from the database its showing...
Most Users Online: 144
Currently Browsing this Page:
Guest Posters: 8