Hi,
the WordSearch Plugin seems quite good and it works.
What I try now is to modify it, so that its results have a sort order by some kind of relevance.
For example if I'm searching for "jacket", the first results should be the data which do exactly matching, afterwards the rest.
I think it should be a sort order like (search-term/word= "Jacket"):
1. $word [result with exact search-term] (... Jacket ...)
2. $word% [results beginning with search-term] (... Jackets ..)
3. %$word% [results where search-term is in] ( ... Teamjackets ...)
Does anyone has an idea how to change the plugin to do so??
Regards,
Manu
Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
the WordSearch Plugin seems quite good and it works.
What I try now is to modify it, so that its results have a sort order by some kind of relevance.
For example if I'm searching for "jacket", the first results should be the data which do exactly matching, afterwards the rest.
I think it should be a sort order like (search-term/word= "Jacket"):
1. $word [result with exact search-term] (... Jacket ...)
2. $word% [results beginning with search-term] (... Jackets ..)
3. %$word% [results where search-term is in] ( ... Teamjackets ...)
Does anyone has an idea how to change the plugin to do so??
Regards,
Manu
Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.