Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › add level categories in search
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years ago.
- AuthorPosts
- September 25, 2017 at 1:10 pm #14873
Hello,
I have sugestion/ Would like to aks You for little faver.
Is it possible for next up date to add one level before or main category to “show categories in search result”? This feature works great but on my site I have many similar categories like: womans, mans, boys, girls, baby boy, baby girl clouths so when some body write key-word “shoes” it’s showing:
shoes
shoes
shoes
shoes
shoes
Is it possible to make something like:
woman clouthes>shoes
man clouthes>shoes
boy clouthes>shoes
girls clouthes>shoes
baby boy clouthes>shoesOr maybe ther is some code i could add to my theme?
All the best
Lukas KSeptember 25, 2017 at 3:54 pm #14876Hi Lukas,
I probably won’t be able to add this in a future release, due to many complications, but with a custom code this should be possible without problems.
I constructed a possible solution for you, which should do the trick 🙂
Add this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!
Let me know if you need help with this. After the change, the results should be outputted in a layout like this: https://i.imgur.com/vsgcN2r.png
I hope this helps.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 25, 2017 at 4:34 pm #14882Wow mate, thanks a lot. works great 🙂 🙂 🙂
All the best
LukasSeptember 25, 2017 at 4:37 pm #14883You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.