This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search for CPT not returning results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search for CPT not returning results

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16953
    damikodamiko
    Participant

    Folder: /srv/users/serverpilot/apps/point59-wp/public

    Hi there!

    For some reason, the search is not searching my listings. I tried using the index search and the regular one. I’m sure it’s a simple setting that I am overlooking, but I can’t seem to find it. Can you please take a look for me?

    https://point59.com/looking-to-buy/

    Thanks again for the awesome plugin!
    – Mike

    #16957
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Mike,

    It did not return results, because the taxonomy filters you have are for the ‘property’ custom post type, not for the listing, and the city filter had the ‘Ajax’ city selected – which does not match any listing obviously. (as listings does not have that taxonomy)

    I have added an ‘All cities’ option to the filter, so initially the search will ignore that, and will be able to return the listing results: https://i.imgur.com/cvNSNsD.png

    If you want the filter to be ignored by custom post types that does not have the taxonomy/custom field defined in the filter, you can turn on these options: https://i.imgur.com/VaXRbLQ.png

    I hope this helps!

    #16962
    damikodamiko
    Participant

    Okay, great! Thanks for your help!

    #17015
    damikodamiko
    Participant

    Hi there,

    I’m still having trouble with one aspect. I can’t seem to detect any custom fields. For example, under the General Options -> Sources screen, there doesn’t seem to be any custom fields for my post type under “Search all custom fields?”.

    Thanks,
    Mike

    #17034
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Mike,

    Have you tried to enter the custom field names you are looking for into the search field there: https://i.imgur.com/tchwux1.png
    It will not list any custom fields by default, you need to search for it by name.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.