Cateogries and Taxonomies problem

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Cateogries and Taxonomies problem

This topic contains 7 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14548
    judelgado
    judelgado
    Participant

    For some reason ([wpdreams_ajaxsearchpro id=3]) is not filtering the results, when using the Categories & Terms filter. You can see the search filter at this private page: https://costaricatoptours.com/searching-images-tools/

    For example when ticking the option for “Caribbean” it must only show the results within the caribbean range, instead, it show some other results, it happens when I select other taxonomies as well, like rooms, adults or children. (if you select 10 adults, there are no results, instead the extension show me some random hotel categories.)

    Can you please let me know what am I missing here in order to get the correct results?

    I tried to look for a solution but I tried many different combinations and the result is the same.

    Thanks for the support.

    #14554
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I can’t seem to be able to log-in with the back-end details, I’m getting an incorrect password message. Can you please check that? Since the page is private I can’t check that either.

    I have a possible guess though. By default the filters will display items that are not related to any of the filtered taxonomies, or does not have any taxonomy terms at all. Try disabling this option on the Frontend Search Settings -> Advnaced panel: https://i.imgur.com/y3Pv9HI.png

    Also, if the filters are empty by default and you want to explicitly exclude the items that are unchecked, you can try to disable this option as well: https://i.imgur.com/CqQlpj9.png

    Best,
    Ernest Marcinko

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


    #14557
    judelgado
    judelgado
    Participant

    Hi Ernerst,

    Thanks for your response. I tried your suggestions but the results are the same.

    I updated the password, you can log in now.

    Thanks again.

    #14559
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you! Those appear to be post and product categories that are returned.
    If you don’t want them, then make sure to turn those options off on the General Options -> Sources 2 panel: https://i.imgur.com/lZaF5Hz.png

    Best,
    Ernest Marcinko

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


    #14562
    judelgado
    judelgado
    Participant

    Hello, yes I want those to be returned, for example there are only 3 categories under Caribbean, the results should return only those three when check the Caribbean, right?

    I just want to filter the results using the taxonomies and variations filter.

    Regards

    #14563
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Unfortunately no, because taxonomy terms cannot be filtered by taxonomy terms, it is not possible.
    The taxonomy term filters works for custom post types, because the taxonomies are registed for custom post types as a type of categorization source.

    Best,
    Ernest Marcinko

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


    #14564
    judelgado
    judelgado
    Participant

    So, is not possible to show only the category I selected in the filter?

    Other question: At the same test page (https://costaricatoptours.com/searching-images-tools/) I added a date shortcode that let me filter on available dates, Is it possible to include this shortcode within the search form?

    Thanks

    #14583
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Unfortunately not possible to filter the category type results based on category filters.

    The plugin has a built-in date filter, which works for custom post type results, or as filtering by date based on custom post meta:
    – Content filter by publish dates: https://i.imgur.com/Ggrzymg.png
    – Custom field filters by date: https://i.imgur.com/ok1201K.png

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.