Reply To: Creating synonyms for search terms

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Creating synonyms for search terms Reply To: Creating synonyms for search terms

#10872

Ernest Marcinko
Keymaster

Hi Craig,

Currently it is not yet possible on the plugin back-end, it's an upcoming feature.

However there is a programatical way with a custom code. This is only a very simple “replace” solution, use it by adding it to the functions.php file in your theme directory (from line 3 only):

Basically, all you need to do is to change the $mapping array variable to the items you need. To the left side is the word you want to replace, to the right goes the replacement. You can add as many as you want 🙂 I hope this helps!

Best,
Ernest Marcinko

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