Search does not work on certain pages

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 Ernest Marcinko 7 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #12130
    Maksym
    Maksym
    Participant

    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

    #12139
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi 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.png

    I 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 :)


    #12142
    Maksym
    Maksym
    Participant

    Hello 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,
    Maksym

    #12146
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi 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:

    fieldset.asp_custom_f {
        max-height: 220px;
        overflow: auto;
    }
    Best,
    Ernest Marcinko

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


    #12166
    Maksym
    Maksym
    Participant

    Hello 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,
    Maksym

    #12169
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

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


Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Search does not work on certain pages’ is closed to new replies.