Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search does not work on certain pages
- This topic has 5 replies, 2 voices, and was last updated 9 years, 3 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 28, 2017 at 3:00 am #12130
Maksym
ParticipantHello,
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 9 years, 3 months ago by
Ernest Marcinko.
February 28, 2017 at 11:23 am #12139Ernest Marcinko
KeymasterHi 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 🙂
February 28, 2017 at 4:00 pm #12142Maksym
ParticipantHello 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 #12146Ernest Marcinko
KeymasterHi Maksym,
You are very welcome!
1. Yes, but it also depends on the configuration you have on the Frontend search settings -> General panel: http://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:
[html]fieldset.asp_custom_f {
max-height: 220px;
overflow: auto;
}[/html]March 2, 2017 at 8:34 pm #12166Maksym
ParticipantHello 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 #12169Ernest Marcinko
KeymasterYou cannot access this content.
-
This topic was modified 9 years, 3 months ago by
-
AuthorPosts
- The topic ‘Search does not work on certain pages’ is closed to new replies.