Wordpress search highlighter

Soldato
Joined
18 Jan 2007
Posts
19,845
Location
Land of the Scots
I like the idea of highlighting googler's search terms when they come to my site, however the plugins I have tried don't seem to have any control over keyword length, so if someone searches for "a pear" it will highlight all the "a"'s which looks terrible, anyone know of a plugin that doesn't do this or another way to do this?
 
Probably depends on the plugin but shouldn't be too hard to add in your own one or two lines of code to check that the word is a) over 2 characters long and b) isn't "the". Do you know PHP at all?
 
I know a little PHP, I guess I'll have a look at it over the weekend... Boggles the mind why it's not a default option in the plugins.
 
Back
Top Bottom