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

Cateogries and Taxonomies problem

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14548
    judelgadojudelgado
    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 MarcinkoErnest 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: http://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: http://i.imgur.com/CqQlpj9.png

    #14557
    judelgadojudelgado
    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 MarcinkoErnest 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: http://i.imgur.com/lZaF5Hz.png

    #14562
    judelgadojudelgado
    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 MarcinkoErnest 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.

    #14564
    judelgadojudelgado
    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 MarcinkoErnest 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: http://i.imgur.com/Ggrzymg.png
    – Custom field filters by date: http://i.imgur.com/ok1201K.png

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