Reply To: Success overall but 3 questions


Ernest Marcinko


1. Your header “row” is displayed as a “table” element, which automatically extends it's maximum width if additional elements are added in some cases. In my opinion changing that to a block would solve the problem. Try this custom CSS code:

#header .row {
    display: block !important;

Make sure to test everything so it does not break other things.

2. In short answer: most likely not.
Long answer: The problem is not only creating the logic itself to recognize word endings with “s”-es , and assume it's plural (and other rules), but also the performance impact. Each assumed misspell would results in an additional search query, which would exponentially decrease the overall performance, not to mention multiple keyword searches with multiple misspellings.
I need to research this in great details to give you a proper answer to be honest.

3. It appear that results for “Tommy Hilfiger” are terms, and terms does not have images in wordpress by default. I suppose your theme uses a method to append these fields to the editor. (maybe stored as options or another method)
If you can ask the theme author on how to get the coupon category images based on the term ID, I will put together a small snippet based on his response to fix that. He will probably suggest a function or a small code part, which I will be able to modify to work with the search as well.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)