Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search does not work on certain pages
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 7 years, 1 month ago.
- AuthorPosts
- February 28, 2017 at 3:00 am #12130
Hello,
Could you help me with customization your plugin, please?
I’ve added search page: http://www.youps.pro/find-a-doctor/
Also, I’ve added 38 pages of doctors. In each page I customized:
— Keyword (http://piccy.info/view3/10898291/d3805eecc27b6f747d706b86c4cf8684/)
— Custom Fields (http://piccy.info/view3/10898292/b7a33a0b77b2b471ccb4aadc1b4774d9/)And customized Frontend Search Settings (http://piccy.info/view3/10898293/5032c3e5b264d47cf18663d7287857f0/)
But can’t understand why — it doesn’t work well. When you click on any city, it display few pages, instead of specific.
**detailes moved safely**
I would be very grateful for your help!
Thanks in advance.Best regards,
Maksym- This topic was modified 7 years, 1 month ago by Ernest Marcinko.
February 28, 2017 at 11:23 am #12139Hi Maksym,
Thank you very much for the proper details, I was able to find and fix the problem for you quickly.
It was because you used the numeric “EQUALS” operator for the custom field selector, which will not work correctly for string values:
– Incorrect: https://i.imgur.com/DoTivJ6.png
– Correct: https://i.imgur.com/5z6ckjI.pngI have logged in and fixed the mistake for you, now it will return the expected results 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 28, 2017 at 4:00 pm #12142Hello Ernest,
Many thanks for the tip and fixed that. It works perfectly!
There are 2 quick questions:
1) When I add a new filter (now it is filtered by city, I’m going to add a filter by specialty) — will it display in 2 columns?
2) It seems the list is too long in height. Is there a way to do it scrolling? Like you have on your demo page: https://ajaxsearchpro.com/property-search/ (http://piccy.info/view3/10900262/10080b8989350a5131338c704391e2dc/)Thanks a lot again!
Really cool support.Regards,
MaksymMarch 1, 2017 at 10:44 am #12146Hi Maksym,
You are very welcome!
1. Yes, but it also depends on the configuration you have on the Frontend search settings -> General panel: https://i.imgur.com/zkPCKmv.png
The flex layout with the automatic rows count is usually the best.2. It looks like this might be a bug I haven’t noticed yet, for the custom field selectors. There is a max height set to automatically start the scroll, but it’s missing for the custom field selectors. I’ve noted this for fixing for the upcoming release, until then, you can try using this custom CSS as temporary solution:
Best,fieldset.asp_custom_f { max-height: 220px; overflow: auto; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 2, 2017 at 8:34 pm #12166Hello Ernest,
Thanks a lot for your help! You are the best.
I’ll use your CSS when I’ll add the second column.Best regards,
MaksymMarch 3, 2017 at 11:21 am #12169You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
The topic ‘Search does not work on certain pages’ is closed to new replies.